summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-10-01 16:18:37 +0000
committerChris Lattner <sabre@nondot.org>2001-10-01 16:18:37 +0000
commit4b717c0edc082166e85181fa70e76b17669aebe2 (patch)
tree2f9e2828d1baeba95c31078d9181478d54ad37b9 /llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp
parent222b1f5775cfe38e3fc10dbf06e3e88b20b1c88f (diff)
downloadbcm5719-llvm-4b717c0edc082166e85181fa70e76b17669aebe2.tar.gz
bcm5719-llvm-4b717c0edc082166e85181fa70e76b17669aebe2.zip
Add support for new style casts
llvm-svn: 694
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp2
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...
OpenPOWER on IntegriCloud