summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2015-06-13 19:50:29 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2015-06-13 19:50:29 +0000
commitbd7b1c89fccd48bf967881a49d97e6645d4b3338 (patch)
tree144e976a9888d864a1f464bfcd40a6313b31288e /llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
parentf3cf9d1f6e4c9091b5bfc34bf8211753814b2560 (diff)
downloadbcm5719-llvm-bd7b1c89fccd48bf967881a49d97e6645d4b3338.tar.gz
bcm5719-llvm-bd7b1c89fccd48bf967881a49d97e6645d4b3338.zip
[ExecutionEngine] ArrayRefize argument passing.
No functionality change intended. llvm-svn: 239687
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.h')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/Interpreter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
index 0dc0463903d..f97664181a8 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
+++ b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
@@ -127,7 +127,7 @@ public:
/// run - Start execution with the specified function and arguments.
///
GenericValue runFunction(Function *F,
- const std::vector<GenericValue> &ArgValues) override;
+ ArrayRef<GenericValue> ArgValues) override;
void *getPointerToNamedFunction(StringRef Name,
bool AbortOnFailure = true) override {
@@ -137,7 +137,7 @@ public:
// Methods used to execute code:
// Place a call on the stack
- void callFunction(Function *F, const std::vector<GenericValue> &ArgVals);
+ void callFunction(Function *F, ArrayRef<GenericValue> ArgVals);
void run(); // Execute instructions until nothing left to do
// Opcode Implementations
@@ -194,7 +194,7 @@ public:
}
GenericValue callExternalFunction(Function *F,
- const std::vector<GenericValue> &ArgVals);
+ ArrayRef<GenericValue> ArgVals);
void exitCalled(GenericValue GV);
void addAtExitHandler(Function *F) {
OpenPOWER on IntegriCloud