diff options
author | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2011-08-20 07:22:00 +0000 |
---|---|---|
committer | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2011-08-20 07:22:00 +0000 |
commit | 19a0a17aee02f48c6d9bd7c9d37b6f5595b27f58 (patch) | |
tree | 5c5e41facf57ef4825e7b3b24cf64955e807a594 /compiler/m68k/cgcpu.pas | |
parent | c2fcb6231f55b2c2e0881dee4faf3d44cf8abcc6 (diff) | |
download | fpc-19a0a17aee02f48c6d9bd7c9d37b6f5595b27f58.tar.gz |
* tprocdef.mangledname now gets an extra boolean parameter indicating
whether the mangled name is for defining a symbol, or for referencing
it later (e.g. for a call or load of its address). The reason is that
on the JVM both cases are different.
+ jvmdef unit to encode types according to the JVM rules
+ tprocdef.jvmmangledname() to encode a procdef's JVM mangled name
(the common part of defining/referencing it; tprocdef.mangledname
afterwards adorns it as required)
git-svn-id: http://svn.freepascal.org/svn/fpc/branches/jvmbackend@18288 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/m68k/cgcpu.pas')
-rw-r--r-- | compiler/m68k/cgcpu.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/m68k/cgcpu.pas b/compiler/m68k/cgcpu.pas index a98ffce61b..5d812b4303 100644 --- a/compiler/m68k/cgcpu.pas +++ b/compiler/m68k/cgcpu.pas @@ -1613,7 +1613,7 @@ unit cgcpu; end { case 0 } else -// list.concat(taicpu.op_sym(A_B,current_asmdata.RefAsmSymbol(procdef.mangledname))); +// list.concat(taicpu.op_sym(A_B,current_asmdata.RefAsmSymbol(procdef.mangledname(false)))); List.concat(Tai_symbol_end.Createname(labelname)); end; |