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

Unified Diff: runtime/vm/flow_graph_compiler.cc

Issue 10825077: Change the stackmap builder API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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
diff --git a/runtime/vm/flow_graph_compiler.cc b/runtime/vm/flow_graph_compiler.cc
index fbf86544c45adb64d2ab9c64fd04011a841cad73..71f18fd92c9d56102a64b8a909ae88502a12098b 100644
--- a/runtime/vm/flow_graph_compiler.cc
+++ b/runtime/vm/flow_graph_compiler.cc
@@ -42,7 +42,7 @@ FlowGraphCompiler::FlowGraphCompiler(
current_block_(NULL),
exception_handlers_list_(NULL),
pc_descriptors_list_(NULL),
- stackmap_builder_(NULL),
+ stackmap_table_builder_(NULL),
block_info_(block_order.length()),
deopt_stubs_(),
is_optimizing_(is_optimizing),
@@ -232,13 +232,13 @@ void FlowGraphCompiler::FinalizePcDescriptors(const Code& code) {
void FlowGraphCompiler::FinalizeStackmaps(const Code& code) {
- if (stackmap_builder_ == NULL) {
+ if (stackmap_table_builder_ == NULL) {
// The unoptimizing compiler has no stack maps.
code.set_stackmaps(Array::Handle());
} else {
// Finalize the stack map array and add it to the code object.
code.set_stackmaps(
- Array::Handle(stackmap_builder_->FinalizeStackmaps(code)));
+ Array::Handle(stackmap_table_builder_->FinalizeStackmaps(code)));
}
}

Powered by Google App Engine
This is Rietveld 408576698