projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b945e4d
)
Implement cast to bool
author
Chris Lattner
<sabre@nondot.org>
Tue, 22 Apr 2003 21:15:56 +0000
(21:15 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 22 Apr 2003 21:15:56 +0000
(21:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5855
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/ExecutionEngine/Interpreter/Execution.cpp
patch
|
blob
|
history
diff --git
a/lib/ExecutionEngine/Interpreter/Execution.cpp
b/lib/ExecutionEngine/Interpreter/Execution.cpp
index 055a4256eddb2696df866f5bbb288ec69c0c58a2..6710a9ae04d127bee04143abb7e18bbda8ab766e 100644
(file)
--- a/
lib/ExecutionEngine/Interpreter/Execution.cpp
+++ b/
lib/ExecutionEngine/Interpreter/Execution.cpp
@@
-979,8
+979,10
@@
static GenericValue executeCastOperation(Value *SrcVal, const Type *Ty,
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;