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

Unified Diff: runtime/vm/flow_graph_compiler_ia32.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_ia32.cc
diff --git a/runtime/vm/flow_graph_compiler_ia32.cc b/runtime/vm/flow_graph_compiler_ia32.cc
index f785ba93880a0a8d1a567a8a4ba2d28dc9a495d8..1662e0db08c42709862d8fc9922aa8944f1c48b4 100644
--- a/runtime/vm/flow_graph_compiler_ia32.cc
+++ b/runtime/vm/flow_graph_compiler_ia32.cc
@@ -48,12 +48,7 @@ void CompilerDeoptInfoWithStub::GenerateCode(FlowGraphCompiler* compiler,
__ popl(EAX);
}
__ 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());
#undef __
}

Powered by Google App Engine
This is Rietveld 408576698