| Index: runtime/vm/unit_test.h
|
| diff --git a/runtime/vm/unit_test.h b/runtime/vm/unit_test.h
|
| index c9c4812364bd5d6ff68fe2d3f5e42fd14e3880ac..1edeb159cc96e0e7d736d4aada6abed4ad2fd324 100644
|
| --- a/runtime/vm/unit_test.h
|
| +++ b/runtime/vm/unit_test.h
|
| @@ -30,7 +30,7 @@
|
| // The TEST_CASE macro is used for tests that need an isolate and zone
|
| // in order to test its functionality.
|
| #define TEST_CASE(name) \
|
| - static void Dart_TestHelper##name(); \
|
| + static void Dart_TestHelper##name(Thread* thread); \
|
| UNIT_TEST_CASE(name) \
|
| { \
|
| TestIsolateScope __test_isolate__; \
|
| @@ -38,9 +38,9 @@
|
| ASSERT(__thread__->isolate() == __test_isolate__.isolate()); \
|
| StackZone __zone__(__thread__); \
|
| HandleScope __hs__(__thread__); \
|
| - Dart_TestHelper##name(); \
|
| + Dart_TestHelper##name(__thread__); \
|
| } \
|
| - static void Dart_TestHelper##name()
|
| + static void Dart_TestHelper##name(Thread* thread)
|
|
|
| // The ASSEMBLER_TEST_GENERATE macro is used to generate a unit test
|
| // for the assembler.
|
|
|