[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp
Zhou Sheng
zhousheng00 at gmail.com
Thu May 24 08:03:47 PDT 2007
Changes in directory llvm/lib/ExecutionEngine:
ExecutionEngine.cpp updated: 1.114 -> 1.115
---
Log message:
Compute the correct word number.
---
Diffs of the changes: (+1 -1)
ExecutionEngine.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/ExecutionEngine/ExecutionEngine.cpp
diff -u llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.114 llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.115
--- llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.114 Mon Mar 12 12:57:00 2007
+++ llvm/lib/ExecutionEngine/ExecutionEngine.cpp Thu May 24 10:03:18 2007
@@ -573,7 +573,7 @@
} else if (BitWidth <= 64) {
Result.IntVal = APInt(BitWidth, *((uint64_t*)Ptr));
} else
- Result.IntVal = APInt(BitWidth, BitWidth/64, (uint64_t*)Ptr);
+ Result.IntVal = APInt(BitWidth, (BitWidth+63)/64, (uint64_t*)Ptr);
break;
}
case Type::FloatTyID:
More information about the llvm-commits
mailing list