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

Unified Diff: runtime/vm/flow_graph_builder.cc

Issue 356923006: Iterate over PcDescriptors only via iterators, not via an index. (preparation for more compression … (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 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_builder.cc
===================================================================
--- runtime/vm/flow_graph_builder.cc (revision 37788)
+++ runtime/vm/flow_graph_builder.cc (working copy)
@@ -1010,7 +1010,7 @@
if ((node->token_pos() != Scanner::kNoSourcePos) &&
!function.is_native() && FLAG_enable_debugger) {
AddInstruction(new DebugStepCheckInstr(node->token_pos(),
- PcDescriptors::kRuntimeCall));
+ RawPcDescriptors::kRuntimeCall));
}
if (FLAG_enable_type_checks) {
@@ -3110,7 +3110,7 @@
node->value()->IsLoadLocalNode()) {
if (FLAG_enable_debugger) {
AddInstruction(new DebugStepCheckInstr(node->token_pos(),
- PcDescriptors::kRuntimeCall));
+ RawPcDescriptors::kRuntimeCall));
}
}

Powered by Google App Engine
This is Rietveld 408576698