Descriptiondart2js: compute the currentScript in the preamble for d8 and jsshell.
This change enables deferred loading for the lazy emitter on d8. Without it the computeThisScript function would be executed within an 'evaled' piece of code, and thus not find the correct URL.
This change also reduces the code of the generated code (by a tiny amount),
R=herhut@google.com
Committed: https://code.google.com/p/dart/source/detail?r=45671
Patch Set 1 #
Total comments: 3
Messages
Total messages: 8 (2 generated)
|