[llvm-commits] CVS: llvm/tools/lli/Interpreter/Execution.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Apr 21 17:44:00 PDT 2003
Changes in directory llvm/tools/lli/Interpreter:
Execution.cpp updated: 1.76 -> 1.77
---
Log message:
Fix wierd idiom
---
Diffs of the changes:
Index: llvm/tools/lli/Interpreter/Execution.cpp
diff -u llvm/tools/lli/Interpreter/Execution.cpp:1.76 llvm/tools/lli/Interpreter/Execution.cpp:1.77
--- llvm/tools/lli/Interpreter/Execution.cpp:1.76 Tue Feb 25 15:14:59 2003
+++ llvm/tools/lli/Interpreter/Execution.cpp Mon Apr 21 17:43:32 2003
@@ -111,7 +111,7 @@
default:
cerr << "Unhandled ConstantExpr: " << CE << "\n";
abort();
- { GenericValue V; return V; }
+ return GenericValue();
}
} else if (Constant *CPV = dyn_cast<Constant>(V)) {
return TheEE->getConstantValue(CPV);
More information about the llvm-commits
mailing list