Changes in directory llvm/lib/Bytecode/Reader:
Reader.cpp updated: 1.242 -> 1.243 --- Log message: Use a simpler constructor for ConstantInt. --- Diffs of the changes: (+1 -1) Reader.cpp | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Bytecode/Reader/Reader.cpp diff -u llvm/lib/Bytecode/Reader/Reader.cpp:1.242 llvm/lib/Bytecode/Reader/Reader.cpp:1.243 --- llvm/lib/Bytecode/Reader/Reader.cpp:1.242 Tue Feb 27 20:25:48 2007 +++ llvm/lib/Bytecode/Reader/Reader.cpp Thu Mar 1 14:25:31 2007 @@ -1269,7 +1269,7 @@ uint64_t *data = new uint64_t[numWords]; for (uint32_t i = 0; i < numWords; ++i) data[i] = read_vbr_uint64(); - Result = ConstantInt::get(IT, APInt(IT->getBitWidth(), numWords, data)); + Result = ConstantInt::get(APInt(IT->getBitWidth(), numWords, data)); if (Handler) Handler->handleConstantValue(Result); } break; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits