Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(526)

Unified Diff: runtime/vm/intermediate_language.cc

Issue 10874071: Eliminate interface bool (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/intermediate_language.cc
===================================================================
--- runtime/vm/intermediate_language.cc (revision 11391)
+++ runtime/vm/intermediate_language.cc (working copy)
@@ -755,7 +755,7 @@
RawAbstractType* AssertBooleanComp::CompileType() const {
- return Type::BoolInterface();
+ return Type::BoolType();
}
@@ -812,7 +812,7 @@
RawAbstractType* StrictCompareComp::CompileType() const {
- return Type::BoolInterface();
+ return Type::BoolType();
}
@@ -821,10 +821,10 @@
if ((receiver_class_id() == kSmiCid) ||
(receiver_class_id() == kDoubleCid) ||
(receiver_class_id() == kNumberCid)) {
- return Type::BoolInterface();
+ return Type::BoolType();
}
if (HasICData() && ic_data()->AllTargetsHaveSameOwner(kInstanceCid)) {
- return Type::BoolInterface();
+ return Type::BoolType();
}
return Type::DynamicType();
}
@@ -849,7 +849,7 @@
(operands_class_id() == kDoubleCid) ||
(operands_class_id() == kNumberCid)) {
// Known/library relational ops that are guaranteed to return Boolean.
- return Type::BoolInterface();
+ return Type::BoolType();
}
return Type::DynamicType();
}
@@ -911,12 +911,12 @@
RawAbstractType* BooleanNegateComp::CompileType() const {
- return Type::BoolInterface();
+ return Type::BoolType();
}
RawAbstractType* InstanceOfComp::CompileType() const {
- return Type::BoolInterface();
+ return Type::BoolType();
}
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | runtime/vm/object.h » ('j') | runtime/vm/object.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698