[llvm-commits] CVS: llvm/tools/lli/Interpreter/Execution.cpp

Chris Lattner lattner at cs.uiuc.edu
Tue Apr 22 16:17:01 PDT 2003


Changes in directory llvm/tools/lli/Interpreter:

Execution.cpp updated: 1.79 -> 1.80

---
Log message:

Implement cast to bool


---
Diffs of the changes:

Index: llvm/tools/lli/Interpreter/Execution.cpp
diff -u llvm/tools/lli/Interpreter/Execution.cpp:1.79 llvm/tools/lli/Interpreter/Execution.cpp:1.80
--- llvm/tools/lli/Interpreter/Execution.cpp:1.79	Tue Apr 22 15:37:39 2003
+++ llvm/tools/lli/Interpreter/Execution.cpp	Tue Apr 22 16:15:56 2003
@@ -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;





More information about the llvm-commits mailing list