Index: runtime/vm/code_generator_test.cc |
=================================================================== |
--- runtime/vm/code_generator_test.cc (revision 23243) |
+++ runtime/vm/code_generator_test.cc (working copy) |
@@ -350,11 +350,10 @@ |
String& function_bar_name = String::ZoneHandle(Symbols::New("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, allocated), |
+ kPos, no_type_arguments, constructor, no_arguments), |
function_bar_name, |
no_arguments); |
@@ -535,9 +534,8 @@ |
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, allocated))); |
+ kPos, no_type_arguments, constructor, no_arguments))); |
} |