diff options
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/UserInput.cpp')
-rw-r--r-- | lib/ExecutionEngine/Interpreter/UserInput.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ExecutionEngine/Interpreter/UserInput.cpp b/lib/ExecutionEngine/Interpreter/UserInput.cpp index 91addb6dd6..4ef7fdcacf 100644 --- a/lib/ExecutionEngine/Interpreter/UserInput.cpp +++ b/lib/ExecutionEngine/Interpreter/UserInput.cpp @@ -294,8 +294,8 @@ bool Interpreter::callMainMethod(const string &Name, } // fallthrough case 1: - if (!MT->getParamTypes()[0]->isIntegral()) { - cout << "First argument of '" << Name << "' should be integral!\n"; + if (!MT->getParamTypes()[0]->isInteger()) { + cout << "First argument of '" << Name << "' should be an integer!\n"; return true; } else { GenericValue GV; GV.UIntVal = InputArgv.size(); |