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

Unified Diff: dart/runtime/vm/flow_graph_compiler.cc

Issue 328663002: Version 1.5.0-dev.4.5 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: 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
« no previous file with comments | « dart/runtime/vm/flow_graph_compiler.h ('k') | dart/runtime/vm/flow_graph_compiler_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/runtime/vm/flow_graph_compiler.cc
===================================================================
--- dart/runtime/vm/flow_graph_compiler.cc (revision 37109)
+++ dart/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_);
}
« no previous file with comments | « dart/runtime/vm/flow_graph_compiler.h ('k') | dart/runtime/vm/flow_graph_compiler_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698