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

Unified Diff: runtime/vm/flow_graph_compiler.cc

Issue 10885039: Deoptimization can occur at Dart calls (includes native calls to C) but not at runtime calls. This … (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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_compiler.cc
===================================================================
--- runtime/vm/flow_graph_compiler.cc (revision 11533)
+++ runtime/vm/flow_graph_compiler.cc (working copy)
@@ -239,10 +239,9 @@
// information.
const intptr_t deopt_index = deopt_stubs_.length();
AddDeoptStub(deopt_id, kDeoptAtCall);
- pc_descriptors_list()->AddDescriptor(PcDescriptors::kDeoptIndex,
- assembler()->CodeSize(),
+ pc_descriptors_list()->AddDeoptIndex(assembler()->CodeSize(),
deopt_id,
- token_pos,
+ kDeoptAtCall,
deopt_index);
}

Powered by Google App Engine
This is Rietveld 408576698