diff options
author | Chris Lattner <sabre@nondot.org> | 2002-09-03 01:08:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-09-03 01:08:28 +0000 |
commit | 0c4e886dbf1cf7736819a49d5143ae1c2a0cfb79 (patch) | |
tree | f48443d191cddb7b196d7b0fa211607e58c77689 /lib/ExecutionEngine/Interpreter/UserInput.cpp | |
parent | 65ad37205ef6958e07f57f85d1b5070ed1d93d1d (diff) |
- Renamed Type::isIntegral() to Type::isInteger()
- Added new method Type::isIntegral() that is the same as isInteger, but
also accepts bool.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3574 91177308-0d34-0410-b5e6-96231b3b80d8
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(); |