diff options
author | steve <steve@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2016-05-30 16:57:13 +0000 |
---|---|---|
committer | steve <steve@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2016-05-30 16:57:13 +0000 |
commit | 6b082ee8b43e52fe18c5799f8f4c82a8c7519f5b (patch) | |
tree | f906b179f5b20f4be91a286f8f5a01fc4fac51e2 /compiler/llvm/aasmllvm.pas | |
parent | 554d71b9e544a9776797dcca9983060fd998fd0b (diff) | |
parent | ba5f910eaac131cb7d3553c9bef173a81c422a1c (diff) | |
download | fpc-interfacertti.tar.gz |
auto-merge: trunk -> InterfaceRTTIinterfacertti
git-svn-id: http://svn.freepascal.org/svn/fpc/branches/interfacertti@33858 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/llvm/aasmllvm.pas')
-rw-r--r-- | compiler/llvm/aasmllvm.pas | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/compiler/llvm/aasmllvm.pas b/compiler/llvm/aasmllvm.pas index 430754e101..af1ab28c03 100644 --- a/compiler/llvm/aasmllvm.pas +++ b/compiler/llvm/aasmllvm.pas @@ -142,11 +142,10 @@ interface ); taillvmalias = class(tailineinfo) - vis: tllvmvisibility; - linkage: tllvmlinkage; + bind: tasmsymbind; oldsym, newsym: TAsmSymbol; def: tdef; - constructor create(_oldsym: tasmsymbol; const newname: TSymStr; _def: tdef; _vis: tllvmvisibility; _linkage: tllvmlinkage); + constructor create(_oldsym: tasmsymbol; const newname: TSymStr; _def: tdef; _bind: tasmsymbind); end; taillvmdeclflag = @@ -244,7 +243,7 @@ uses { taillvmalias } - constructor taillvmalias.create(_oldsym: tasmsymbol; const newname: TSymStr; _def: tdef; _vis: tllvmvisibility; _linkage: tllvmlinkage); + constructor taillvmalias.create(_oldsym: tasmsymbol; const newname: TSymStr; _def: tdef; _bind: tasmsymbind); begin inherited Create; typ:=ait_llvmalias; @@ -252,8 +251,7 @@ uses newsym:=current_asmdata.DefineAsmSymbol(newname,AB_GLOBAL,AT_FUNCTION); newsym.declared:=true; def:=_def; - vis:=_vis; - linkage:=_linkage; + bind:=_bind; end; @@ -584,7 +582,7 @@ uses la_icmp, la_fcmp: begin case opnr of - 0: result:=pasbool8type; + 0: result:=llvmbool1type; 3,4: result:=oper[2]^.def; else internalerror(2013110801); |