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

Unified Diff: runtime/vm/compiler.cc

Issue 10837303: Make stackmaps store their actual length. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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/compiler.cc
diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc
index f785d282ac0eee18c964c4432113742909f8c47c..a4900a1fb354696c801009513ebc06184c256fc2 100644
--- a/runtime/vm/compiler.cc
+++ b/runtime/vm/compiler.cc
@@ -226,9 +226,6 @@ static bool CompileParsedFunctionHelper(
const Function& function = parsed_function.function();
const Code& code = Code::Handle(Code::FinalizeCode(function, &assembler));
code.set_is_optimized(optimized);
- if (optimized && use_ssa) {
- code.set_spill_slot_count(graph_compiler.StackSize());
- }
graph_compiler.FinalizePcDescriptors(code);
graph_compiler.FinalizeDeoptInfo(code);
graph_compiler.FinalizeStackmaps(code);

Powered by Google App Engine
This is Rietveld 408576698