[llvm-commits] CVS: llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp
Nate Begeman
natebegeman at mac.com
Tue Apr 25 10:46:58 PDT 2006
Changes in directory llvm/lib/ExecutionEngine/JIT:
JITEmitter.cpp updated: 1.83 -> 1.84
---
Log message:
Fix a warning
---
Diffs of the changes: (+1 -1)
JITEmitter.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp
diff -u llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp:1.83 llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp:1.84
--- llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp:1.83 Sat Apr 22 13:53:45 2006
+++ llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp Tue Apr 25 12:46:32 2006
@@ -699,7 +699,7 @@
for (unsigned i = 0; i < Index; ++i)
Offset += JT[i].MBBs.size() * EntrySize;
- return (uint64_t)((char *)JumpTableBase + Offset);
+ return (intptr_t)((char *)JumpTableBase + Offset);
}
unsigned char* JITEmitter::allocateGlobal(unsigned size, unsigned alignment)
More information about the llvm-commits
mailing list