mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-31 09:25:42 +00:00
[Orc] Use raw TargetAddresses for callback trampoline addresses, rather than IR.
Add convenience function for building a typed IR Constant from trampoline addresses. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233504 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -258,7 +258,8 @@ private:
|
||||
CompileCallbackMgr.getCompileCallback(*Proto->getFunctionType());
|
||||
GlobalVariable *FunctionBodyPointer =
|
||||
createImplPointer(*Proto, Name + AddrSuffix,
|
||||
CallbackInfo.getAddress());
|
||||
createIRTypedAddress(*Proto->getFunctionType(),
|
||||
CallbackInfo.getAddress()));
|
||||
makeStub(*Proto, *FunctionBodyPointer);
|
||||
|
||||
F.setName(Name + BodySuffix);
|
||||
|
Reference in New Issue
Block a user