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

Unified Diff: runtime/vm/flow_graph_range_analysis.cc

Issue 1390153004: Move deopt_id and related helpers/definitions from Isolate to Thread (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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/flow_graph_range_analysis.cc
diff --git a/runtime/vm/flow_graph_range_analysis.cc b/runtime/vm/flow_graph_range_analysis.cc
index 9016d1c862629268289e882c703eb94196b59a5f..35a7a5d80aaafd548ca80891de34ad5b35a18c1e 100644
--- a/runtime/vm/flow_graph_range_analysis.cc
+++ b/runtime/vm/flow_graph_range_analysis.cc
@@ -1082,7 +1082,7 @@ class BoundsCheckGeneralizer {
CheckArrayBoundInstr* precondition = new CheckArrayBoundInstr(
new Value(max_smi),
new Value(non_positive_symbols[i]),
- Isolate::kNoDeoptId);
+ Thread::kNoDeoptId);
precondition->mark_generalized();
precondition = scheduler_.Emit(precondition, check);
if (precondition == NULL) {
@@ -1097,7 +1097,7 @@ class BoundsCheckGeneralizer {
CheckArrayBoundInstr* new_check = new CheckArrayBoundInstr(
new Value(UnwrapConstraint(check->length()->definition())),
new Value(upper_bound),
- Isolate::kNoDeoptId);
+ Thread::kNoDeoptId);
new_check->mark_generalized();
if (new_check->IsRedundant(array_length)) {
if (FLAG_trace_range_analysis) {
@@ -1138,7 +1138,7 @@ class BoundsCheckGeneralizer {
return new BinarySmiOpInstr(op_kind,
new Value(left),
new Value(right),
- Isolate::kNoDeoptId);
+ Thread::kNoDeoptId);
}

Powered by Google App Engine
This is Rietveld 408576698