Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Unified Diff: dart/runtime/bin/builtin.dart

Issue 59073003: Version 0.8.10.4 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dart/pkg/shadow_dom/tool/build.sh ('k') | dart/runtime/bin/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/runtime/bin/builtin.dart
===================================================================
--- dart/runtime/bin/builtin.dart (revision 29808)
+++ dart/runtime/bin/builtin.dart (working copy)
@@ -4,7 +4,14 @@
library builtin;
import 'dart:io';
+// import 'root_library'; happens here from C Code
+// The root library (aka the script) is imported into this library. The
+// standalone embedder uses this to lookup the main entrypoint in the
+// root library's namespace.
+Function _getMainClosure() => main;
+
+
// Corelib 'print' implementation.
void _print(arg) {
_Logger._printString(arg.toString());
« no previous file with comments | « dart/pkg/shadow_dom/tool/build.sh ('k') | dart/runtime/bin/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698