Index: runtime/vm/code_generator_test.cc |
=================================================================== |
--- runtime/vm/code_generator_test.cc (revision 7560) |
+++ runtime/vm/code_generator_test.cc (working copy) |
@@ -341,10 +341,11 @@ |
String& function_bar_name = String::ZoneHandle(String::NewSymbol("bar")); |
ArgumentListNode* no_arguments = new ArgumentListNode(kPos); |
const TypeArguments& no_type_arguments = TypeArguments::ZoneHandle(); |
+ const LocalVariable& allocated = *test->CreateTempConstVariable("alloc"); |
InstanceCallNode* call_bar = new InstanceCallNode( |
kPos, |
new ConstructorCallNode( |
- kPos, no_type_arguments, constructor, no_arguments), |
+ kPos, no_type_arguments, constructor, no_arguments, allocated), |
function_bar_name, |
no_arguments); |
@@ -475,8 +476,9 @@ |
const TypeArguments& no_type_arguments = TypeArguments::ZoneHandle(); |
ArgumentListNode* no_arguments = new ArgumentListNode(kPos); |
+ const LocalVariable& allocated = *test->CreateTempConstVariable("alloc"); |
test->node_sequence()->Add(new ReturnNode(kPos, new ConstructorCallNode( |
- kPos, no_type_arguments, constructor, no_arguments))); |
+ kPos, no_type_arguments, constructor, no_arguments, allocated))); |
} |