summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-09-05 18:55:03 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-09-05 18:55:03 +0000
commit9b518bc0bed05acc05402f230758c2f1799c6834 (patch)
tree2e87c789983981f0a6e94e7a1cd94d5cc78ea3e0 /llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
parenta7669038fc8ab1447bc1f68108b30996adf50ef4 (diff)
downloadbcm5719-llvm-9b518bc0bed05acc05402f230758c2f1799c6834.tar.gz
bcm5719-llvm-9b518bc0bed05acc05402f230758c2f1799c6834.zip
Make getOperandValue and executeCastOperation methods of Interpreter.
This lets us protect a few more ExecutionEngine methods. llvm-svn: 8367
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.h')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/Interpreter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
index ef0540c1fed..a59ebade36f 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
+++ b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
@@ -159,6 +159,9 @@ private: // Helper functions
void initializeExecutionEngine();
void initializeExternalFunctions();
+ GenericValue getOperandValue(Value *V, ExecutionContext &SF);
+ GenericValue executeCastOperation(Value *SrcVal, const Type *Ty,
+ ExecutionContext &SF);
};
#endif
OpenPOWER on IntegriCloud