commit | 5bff50d1b0feb8f801541a2f9e3e8c5261dc7943 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Apr 22 21:15:56 2003 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Apr 22 21:15:56 2003 +0000 |
tree | a495be47867cd59057c7f933116fdd39347af606 | |
parent | b945e4ddae07c8f5b69bb79ad9a591496b645b18 [diff] [blame] |
Implement cast to bool git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5855 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/ExecutionEngine/Interpreter/Execution.cpp b/lib/ExecutionEngine/Interpreter/Execution.cpp index 055a425..6710a9a 100644 --- a/lib/ExecutionEngine/Interpreter/Execution.cpp +++ b/lib/ExecutionEngine/Interpreter/Execution.cpp
@@ -979,8 +979,10 @@ IMPLEMENT_CAST_CASE(Pointer, (PointerTy)); IMPLEMENT_CAST_CASE(Float , (float)); IMPLEMENT_CAST_CASE(Double , (double)); + IMPLEMENT_CAST_CASE(Bool , (bool)); default: cout << "Unhandled dest type for cast instruction: " << Ty << "\n"; + abort(); } return Dest;