aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ExecutionEngine
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-08-02 22:06:04 +0000
committerChris Lattner <sabre@nondot.org>2002-08-02 22:06:04 +0000
commit1bbd36156b75447667e20cdc0160640a3ecf8bf3 (patch)
tree11df08035b4fac5f143dc00968ead720011c1b44 /lib/ExecutionEngine
parentb490c20b3891717f95804517d47d269bbcf3dc03 (diff)
downloadexternal_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.cpp2
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));