From f11d8a35abdc6dc4f9d40c764f45274123af878c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 21 Apr 2003 22:43:32 +0000 Subject: Fix wierd idiom llvm-svn: 5831 --- llvm/lib/ExecutionEngine/Interpreter/Execution.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/ExecutionEngine/Interpreter') 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(V)) { return TheEE->getConstantValue(CPV); -- cgit v1.2.3