diff options
author | Chris Lattner <sabre@nondot.org> | 2002-07-09 18:42:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-07-09 18:42:36 +0000 |
commit | 743cd3e2b8ea315a1b785187654ab3665128cba7 (patch) | |
tree | 5f218bb1ec64b0a85e009057bde138acfc19e46b /lib/ExecutionEngine | |
parent | 53e9983790f497519919385e60fd2a942d75f652 (diff) | |
download | external_llvm-743cd3e2b8ea315a1b785187654ab3665128cba7.zip external_llvm-743cd3e2b8ea315a1b785187654ab3665128cba7.tar.gz external_llvm-743cd3e2b8ea315a1b785187654ab3665128cba7.tar.bz2 |
Implementing shift left & shift right on pointers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2844 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine')
-rw-r--r-- | lib/ExecutionEngine/Interpreter/Execution.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Execution.cpp b/lib/ExecutionEngine/Interpreter/Execution.cpp index 07ad800..68379f4 100644 --- a/lib/ExecutionEngine/Interpreter/Execution.cpp +++ b/lib/ExecutionEngine/Interpreter/Execution.cpp @@ -958,6 +958,7 @@ static void executeShlInst(ShiftInst &I, ExecutionContext &SF) { IMPLEMENT_SHIFT(<<, Int); IMPLEMENT_SHIFT(<<, ULong); IMPLEMENT_SHIFT(<<, Long); + IMPLEMENT_SHIFT(<<, Pointer); default: cout << "Unhandled type for Shl instruction: " << Ty << "\n"; } @@ -979,6 +980,7 @@ static void executeShrInst(ShiftInst &I, ExecutionContext &SF) { IMPLEMENT_SHIFT(>>, Int); IMPLEMENT_SHIFT(>>, ULong); IMPLEMENT_SHIFT(>>, Long); + IMPLEMENT_SHIFT(>>, Pointer); default: cout << "Unhandled type for Shr instruction: " << Ty << "\n"; } |