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

Unified Diff: runtime/vm/flow_graph_compiler_x64.cc

Issue 10982088: Remove deoptimization index PC descriptors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove code from an unrelated change. Created 8 years, 3 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_x64.cc
diff --git a/runtime/vm/flow_graph_compiler_x64.cc b/runtime/vm/flow_graph_compiler_x64.cc
index 3ee9bd6f53a4839512670db517ea59abdc651249..47a6e3d9f81faaa2672e4637d80575a240a0ddc4 100644
--- a/runtime/vm/flow_graph_compiler_x64.cc
+++ b/runtime/vm/flow_graph_compiler_x64.cc
@@ -51,12 +51,7 @@ void CompilerDeoptInfoWithStub::GenerateCode(FlowGraphCompiler* compiler,
__ popq(RAX); // Restore RAX.
}
__ call(&StubCode::DeoptimizeLabel());
- const intptr_t deopt_info_index = stub_ix;
- compiler->pc_descriptors_list()->AddDeoptIndex(
- compiler->assembler()->CodeSize(),
- deopt_id(),
- reason(),
- deopt_info_index);
+ set_pc_offset(assem->CodeSize());
__ int3();
#undef __
}

Powered by Google App Engine
This is Rietveld 408576698