aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Transforms/NaCl/ExpandI64.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Transforms/NaCl/ExpandI64.cpp b/lib/Transforms/NaCl/ExpandI64.cpp
index eb0b9ea09a..23b2fdc307 100644
--- a/lib/Transforms/NaCl/ExpandI64.cpp
+++ b/lib/Transforms/NaCl/ExpandI64.cpp
@@ -829,7 +829,7 @@ void ExpandI64::ensureFuncs() {
Shl = Function::Create(FourFunc, GlobalValue::ExternalLinkage,
"bitshift64Shl", TheModule);
- if (!TheModule->getFunction("getHigh32")) {
+ if (!(GetHigh = TheModule->getFunction("getHigh32"))) {
SmallVector<Type*, 0> GetHighArgTypes;
FunctionType *GetHighFunc = FunctionType::get(i32, GetHighArgTypes, false);
GetHigh = Function::Create(GetHighFunc, GlobalValue::ExternalLinkage,
@@ -906,7 +906,6 @@ bool ExpandI64::runOnModule(Module &M) {
Type *T = i == -1 ? I->getType() : I->getOperand(i)->getType();
if (isIllegal(T)) {
Changed = true;
- //dump("split"); dumpIR(I);
splitInst(I, DL);
break;
}