aboutsummaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/Interpreter/Execution.cpp
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
commit04e2ad76f8db3d0eade6979e296219f95fc85202 (patch)
tree746b555900f6f1d0b8ea567aea8ddb0fe9d5b7ec /lib/ExecutionEngine/Interpreter/Execution.cpp
parent9dbf6dddcec7a627fabfc722e124311321de8fa0 (diff)
Fix wierd idiom
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5831 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/Execution.cpp')
-rw-r--r--lib/ExecutionEngine/Interpreter/Execution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Execution.cpp b/lib/ExecutionEngine/Interpreter/Execution.cpp
index 1ab065e961..ff62ac8496 100644
--- a/lib/ExecutionEngine/Interpreter/Execution.cpp
+++ b/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);