mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-03 14:31:10 +00:00
Fix one of the major things that is causing the C Backend to infinite loop
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13872 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
49f61c4ea4
commit
11b9be5a1a
@ -103,6 +103,7 @@ bool LowerInvoke::doInitialization(Module &M) {
|
|||||||
PATypeHolder JBLType(StructType::get(Elements));
|
PATypeHolder JBLType(StructType::get(Elements));
|
||||||
OT->refineAbstractTypeTo(JBLType.get()); // Complete the cycle.
|
OT->refineAbstractTypeTo(JBLType.get()); // Complete the cycle.
|
||||||
JBLinkTy = JBLType.get();
|
JBLinkTy = JBLType.get();
|
||||||
|
M.addTypeName("llvm.sjljeh.jmpbufty", JBLinkTy);
|
||||||
}
|
}
|
||||||
|
|
||||||
const Type *PtrJBList = PointerType::get(JBLinkTy);
|
const Type *PtrJBList = PointerType::get(JBLinkTy);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user