aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ExecutionEngine/Interpreter/UserInput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/UserInput.cpp')
-rw-r--r--lib/ExecutionEngine/Interpreter/UserInput.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/Interpreter/UserInput.cpp b/lib/ExecutionEngine/Interpreter/UserInput.cpp
index f0c7fe1..508bd4a 100644
--- a/lib/ExecutionEngine/Interpreter/UserInput.cpp
+++ b/lib/ExecutionEngine/Interpreter/UserInput.cpp
@@ -144,7 +144,12 @@ bool Interpreter::callMethod(const string &Name) {
if (PickedMeth == 0)
return true;
- callMethod(PickedMeth->castMethodAsserting()); // Start executing it...
+ Method *M = PickedMeth->castMethodAsserting();
+
+ vector<GenericValue> Args;
+ // TODO, get args from user...
+
+ callMethod(M, Args); // Start executing it...
// Reset the current frame location to the top of stack
CurFrame = ECStack.size()-1;