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

Unified Diff: runtime/vm/intermediate_language.h

Issue 712993005: Infer range for BIT_XOR. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « runtime/vm/flow_graph_range_analysis.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language.h
diff --git a/runtime/vm/intermediate_language.h b/runtime/vm/intermediate_language.h
index e5ddd4a32e1a7132495b0edd467a7de298803bce..5867762ad37c47e8db3a4552fa25a9cdde4c6d47 100644
--- a/runtime/vm/intermediate_language.h
+++ b/runtime/vm/intermediate_language.h
@@ -7452,8 +7452,8 @@ class UnboxedIntConverterInstr : public TemplateDefinition<1, NoThrow> {
ASSERT((to == kUnboxedMint) ||
(to == kUnboxedUint32) ||
(to == kUnboxedInt32));
- ASSERT((to != kUnboxedInt32) || (deopt_id != Isolate::kNoDeoptId));
SetInputAt(0, value);
+ ASSERT(!CanDeoptimize() || (deopt_id != Isolate::kNoDeoptId));
}
Value* value() const { return inputs_[0]; }
« no previous file with comments | « runtime/vm/flow_graph_range_analysis.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698