diff options
-rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/Execution.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp index 07ad8003c33..68379f4e168 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp +++ b/llvm/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"; } |