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

Unified Diff: frog/gen.dart

Issue 8467034: Isolates in frog - tweaks in existing js code to make things run (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: '' Created 9 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
Index: frog/gen.dart
diff --git a/frog/gen.dart b/frog/gen.dart
index b26fa01b136e5564458fa34a5b4964aa1528753b..885ae106bbe92bdc8022c03dce92f9a5c4f5001b 100644
--- a/frog/gen.dart
+++ b/frog/gen.dart
@@ -50,7 +50,7 @@ class WorldGenerator {
_writeDynamicStubs(world.functionType);
_writeGlobals();
- writer.writeln('${mainCall.code};');
+ writer.writeln('RunEntry(function () {${mainCall.code};}, []);');
jimhug 2011/11/08 15:39:01 Does this cause any issues with our stack traces?
}
GlobalValue globalForStaticField(FieldMember field, Value fieldValue,

Powered by Google App Engine
This is Rietveld 408576698