diff options
author | Chris Lattner <sabre@nondot.org> | 2002-08-02 22:06:04 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-08-02 22:06:04 +0000 |
commit | 1bbd36156b75447667e20cdc0160640a3ecf8bf3 (patch) | |
tree | 11df08035b4fac5f143dc00968ead720011c1b44 /lib/ExecutionEngine | |
parent | b490c20b3891717f95804517d47d269bbcf3dc03 (diff) | |
download | external_llvm-1bbd36156b75447667e20cdc0160640a3ecf8bf3.zip external_llvm-1bbd36156b75447667e20cdc0160640a3ecf8bf3.tar.gz external_llvm-1bbd36156b75447667e20cdc0160640a3ecf8bf3.tar.bz2 |
Fix one real nasty bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3227 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine')
-rw-r--r-- | lib/ExecutionEngine/Interpreter/Execution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Execution.cpp b/lib/ExecutionEngine/Interpreter/Execution.cpp index 77d8011..f1e1d0c 100644 --- a/lib/ExecutionEngine/Interpreter/Execution.cpp +++ b/lib/ExecutionEngine/Interpreter/Execution.cpp @@ -1038,7 +1038,7 @@ static void executeCastInst(CastInst &I, ExecutionContext &SF) { IMPLEMENT_CAST_CASE(UByte , (unsigned char)); IMPLEMENT_CAST_CASE(SByte , ( signed char)); IMPLEMENT_CAST_CASE(UShort , (unsigned short)); - IMPLEMENT_CAST_CASE(Short , ( signed char)); + IMPLEMENT_CAST_CASE(Short , ( signed short)); IMPLEMENT_CAST_CASE(UInt , (unsigned int )); IMPLEMENT_CAST_CASE(Int , ( signed int )); IMPLEMENT_CAST_CASE(ULong , (uint64_t)); |