Index: vm/unit_test.h |
=================================================================== |
--- vm/unit_test.h (revision 16415) |
+++ vm/unit_test.h (working copy) |
@@ -81,9 +81,8 @@ |
CodeGenTestRun##name(__test__.function()); \ |
} \ |
static void CodeGenTestRun##name(const Function& function) { \ |
- const Array& args = Array::Handle(Object::empty_array()); \ |
Object& result = Object::Handle(); \ |
- result = DartEntry::InvokeStatic(function, args); \ |
+ result = DartEntry::InvokeStatic(function, Object::empty_array()); \ |
EXPECT(!result.IsError()); \ |
Instance& actual = Instance::Handle(); \ |
actual ^= result.raw(); \ |
@@ -120,9 +119,8 @@ |
CodeGenTestRun##name1(__test1__.function()); \ |
} \ |
static void CodeGenTestRun##name1(const Function& function) { \ |
- const Array& args = Array::Handle(Object::empty_array()); \ |
Object& result = Object::Handle(); \ |
- result = DartEntry::InvokeStatic(function, args); \ |
+ result = DartEntry::InvokeStatic(function, Object::empty_array()); \ |
EXPECT(!result.IsError()); \ |
Instance& actual = Instance::Handle(); \ |
actual ^= result.raw(); \ |