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, |