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. |