summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-04-21 22:43:32 +0000
committerChris Lattner <sabre@nondot.org>2003-04-21 22:43:32 +0000
commitf11d8a35abdc6dc4f9d40c764f45274123af878c (patch)
tree0ef550a8511b148778c62fb6977ea5999623de0e /llvm/lib/ExecutionEngine/Interpreter
parent1610666ea55c2938c9f858a5c0fec3b1f41a9a6b (diff)
downloadbcm5719-llvm-f11d8a35abdc6dc4f9d40c764f45274123af878c.tar.gz
bcm5719-llvm-f11d8a35abdc6dc4f9d40c764f45274123af878c.zip
Fix wierd idiom
llvm-svn: 5831
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/Execution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
index 1ab065e9612..ff62ac84965 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
+++ b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
@@ -111,7 +111,7 @@ static GenericValue getOperandValue(Value *V, ExecutionContext &SF) {
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);
OpenPOWER on IntegriCloud