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

Unified Diff: runtime/vm/flow_graph_compiler.cc

Issue 315583002: First step in reducing the size of PC descriptors. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: addressed comments, added arm64 file. 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_compiler.cc
===================================================================
--- runtime/vm/flow_graph_compiler.cc (revision 36988)
+++ runtime/vm/flow_graph_compiler.cc (working copy)
@@ -103,7 +103,10 @@
Library::Handle(Library::CoreLibrary()).
LookupClass(Symbols::List()))),
parallel_move_resolver_(this),
- pending_deoptimization_env_(NULL) {
+ pending_deoptimization_env_(NULL),
+ entry_patch_pc_offset_(Code::kInvalidPc),
+ patch_code_pc_offset_(Code::kInvalidPc),
+ lazy_deopt_pc_offset_(Code::kInvalidPc) {
ASSERT(assembler != NULL);
ASSERT(!list_class_.IsNull());
}
@@ -700,6 +703,9 @@
pc_descriptors_list_->FinalizePcDescriptors(code.EntryPoint()));
if (!is_optimizing_) descriptors.Verify(parsed_function_.function());
code.set_pc_descriptors(descriptors);
+ code.set_entry_patch_pc_offset(entry_patch_pc_offset_);
+ code.set_patch_code_pc_offset(patch_code_pc_offset_);
+ code.set_lazy_deopt_pc_offset(lazy_deopt_pc_offset_);
}

Powered by Google App Engine
This is Rietveld 408576698