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

Unified Diff: runtime/vm/compiler.cc

Issue 678763004: Make CTX allocatable by the register allocator. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: incorporated latest comments Created 6 years, 2 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
===================================================================
--- runtime/vm/compiler.cc (revision 41393)
+++ runtime/vm/compiler.cc (working copy)
@@ -1049,8 +1049,9 @@
ParsedFunction* parsed_function = new ParsedFunction(isolate, func);
parsed_function->SetNodeSequence(fragment);
parsed_function->set_default_parameter_values(Object::null_array());
- parsed_function->EnsureExpressionTemp();
- fragment->scope()->AddVariable(parsed_function->expression_temp_var());
+ fragment->scope()->AddVariable(parsed_function->EnsureExpressionTemp());
+ fragment->scope()->AddVariable(
+ parsed_function->current_context_var());
parsed_function->AllocateVariables();
// Non-optimized code generator.

Powered by Google App Engine
This is Rietveld 408576698