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

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, 5 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 38030)
+++ runtime/vm/flow_graph_builder.cc (working copy)
@@ -1016,7 +1016,7 @@
if ((node->token_pos() != Scanner::kNoSourcePos) &&
!function.is_native() && FLAG_enable_debugger) {
AddInstruction(new(I) DebugStepCheckInstr(node->token_pos(),
- PcDescriptors::kRuntimeCall));
+ RawPcDescriptors::kRuntimeCall));
}
if (FLAG_enable_type_checks) {
@@ -3119,8 +3119,8 @@
if (node->value()->IsLiteralNode() ||
node->value()->IsLoadLocalNode()) {
if (FLAG_enable_debugger) {
- AddInstruction(new(I) DebugStepCheckInstr(node->token_pos(),
- PcDescriptors::kRuntimeCall));
+ AddInstruction(new(I) DebugStepCheckInstr(
+ node->token_pos(), RawPcDescriptors::kRuntimeCall));
}
}

Powered by Google App Engine
This is Rietveld 408576698