diff options
author | Chris Lattner <sabre@nondot.org> | 2006-09-13 16:21:10 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-09-13 16:21:10 +0000 |
commit | 8a650095fcecaf5270231bd376e49ed46249da95 (patch) | |
tree | a6a2098dcd7e5cd104c427c43ee30cad8cb73d56 | |
parent | 3ad5e5cf998841681e9d11e08eb82a94ddffd1f8 (diff) |
Fix a ton of jit failures
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30292 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/ExecutionEngine/JIT/JITEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/JIT/JITEmitter.cpp b/lib/ExecutionEngine/JIT/JITEmitter.cpp index 0fe82fd6c8..6e60caf332 100644 --- a/lib/ExecutionEngine/JIT/JITEmitter.cpp +++ b/lib/ExecutionEngine/JIT/JITEmitter.cpp @@ -864,7 +864,7 @@ void JITEmitter::emitConstantPool(MachineConstantPool *MCP) { MachineConstantPoolEntry CPE = Constants.back(); unsigned Size = CPE.Offset; const Type *Ty = CPE.isMachineConstantPoolEntry() - ? CPE.Val.ConstVal->getType() : CPE.Val.MachineCPVal->getType(); + ? CPE.Val.MachineCPVal->getType() : CPE.Val.ConstVal->getType(); Size += TheJIT->getTargetData()->getTypeSize(Ty); ConstantPoolBase = allocateSpace(Size, 1 << MCP->getConstantPoolAlignment()); |