DescriptionMake sure isolate library is initialized before using isolate natives.
The compiler only adds 'startRootIsolate' if we use the dart:isolate library.
===
if (hasIsolateSupport()) {
enqueuer.codegen.addToWorkList(
isolateHelperLibrary.find(Compiler.START_ROOT_ISOLATE));
enqueuer.codegen.registerGetOfStaticFunction(main);
}
===
However the isolate-native library requires some of the startRootIsolate
elements to be resolved. Therefore we must use the dart:isolate library
in the native-isolate tests.
Committed: https://code.google.com/p/dart/source/detail?r=32709
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|