| Index: runtime/vm/dart_api_impl_test.cc
|
| ===================================================================
|
| --- runtime/vm/dart_api_impl_test.cc (revision 4887)
|
| +++ runtime/vm/dart_api_impl_test.cc (working copy)
|
| @@ -3601,23 +3601,17 @@
|
|
|
|
|
| void BusyLoop_start(uword unused) {
|
| - // TODO(turnidge): Get rid of call to 'function' after interrupts
|
| - // are checked on backward branches.
|
| const char* kScriptChars =
|
| "class Native {\n"
|
| " static void markMainEntered() native 'MarkMainEntered';\n"
|
| "}\n"
|
| - "void function([foo='hi']) {\n"
|
| - "}\n"
|
| "\n"
|
| "void main() {\n"
|
| " Native.markMainEntered();\n"
|
| - " while (true) {\n" // Infinite loop.
|
| - " function();\n"
|
| + " while (true) {\n" // Infinite empty loop.
|
| " }\n"
|
| "}\n";
|
|
|
| -
|
| // Tell the other thread that shared_isolate is created.
|
| Dart_Handle lib;
|
| {
|
|
|