diff options
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp')
-rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp b/llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp index 508bd4a3246..eb5725feddc 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp +++ b/llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp @@ -144,7 +144,7 @@ bool Interpreter::callMethod(const string &Name) { if (PickedMeth == 0) return true; - Method *M = PickedMeth->castMethodAsserting(); + Method *M = cast<Method>(PickedMeth); vector<GenericValue> Args; // TODO, get args from user... |