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

Unified Diff: runtime/vm/intermediate_language.cc

Issue 2463593002: VM: Enable branch merging of isnan, isinf. (Closed)
Patch Set: DBC support Created 4 years, 2 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
diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc
index c3359f1f23fe46637922f5369b64a07f62f3c7f3..c2a59e5a102d9957aa4b5e70e24f3965624cc30c 100644
--- a/runtime/vm/intermediate_language.cc
+++ b/runtime/vm/intermediate_language.cc
@@ -3022,13 +3022,13 @@ StrictCompareInstr::StrictCompareInstr(TokenPosition token_pos,
Value* left,
Value* right,
bool needs_number_check)
- : ComparisonInstr(token_pos,
+ : TemplateComparison(token_pos,
kind,
zra 2016/10/31 17:28:14 weird indent
Florian Schneider 2016/10/31 18:48:16 Done.
- left,
- right,
Thread::Current()->GetNextDeoptId()),
needs_number_check_(needs_number_check) {
ASSERT((kind == Token::kEQ_STRICT) || (kind == Token::kNE_STRICT));
+ SetInputAt(0, left);
+ SetInputAt(1, right);
}
@@ -3424,6 +3424,13 @@ void Environment::DeepCopyToOuter(Zone* zone, Instruction* instr) const {
}
+ComparisonInstr* DoubleTestOpInstr::CopyWithNewOperands(Value* new_left,
+ Value* new_right) {
+ UNREACHABLE();
+ return NULL;
+}
+
+
ComparisonInstr* EqualityCompareInstr::CopyWithNewOperands(Value* new_left,
Value* new_right) {
return new EqualityCompareInstr(token_pos(),

Powered by Google App Engine
This is Rietveld 408576698