Description1. Correctly set root_library based on the application script URI instead of looking for the library that has the 'main' method.
2. Adjust the Dart front end to not require a 'main' method when the in memory filesystem is used, this allows execution of VM unit tests which all do not necessarily have a 'main' method (integrated CL from siggi)
3. Change kernel reader to not look for a 'main' methos when Dart_LoadKernel is called.
4. Change Dart_LoadScript to also support loading of dart programs when Dart front end is used
R=aam@google.com, sigmund@google.com
Committed: https://github.com/dart-lang/sdk/commit/33c50e93741bae4a2d675a3690c9a4906befc2a5
Patch Set 1 #Patch Set 2 : Fix. #Patch Set 3 : Fix. #Patch Set 4 : code formatting changes. #Patch Set 5 : Integrate cl from Siggi for front end change to not require a 'main' method when using the memory f… #
Messages
Total messages: 8 (4 generated)
|