Description[module] Track script "module code" status
A V8 Script object may describe source code that, in ECMAScript2015
terms, is either "module code" or "global code." This distinction is
currently available in ParseInfo instances, but because the Script has a
longer lifetime, there are some circumstances (e.g. lazily tokenizing
function bodies) where the information is relevant but not available.
Encode a Script's status as "module code" as a flag on the script
instance and reference that flag when creating ParseInfo instances.
LOG=N
R=vogelheim@chromium.org
BUG=v8:1569
Patch Set 1 #
Total comments: 13
Patch Set 2 : Extend compilation cache to recognize module code #
Total comments: 13
Patch Set 3 : Incorporate review feedback #
Total comments: 6
Patch Set 4 : Remove unnecessary ternary and rebase #Patch Set 5 : Use idiomatic variable names #
Messages
Total messages: 20 (6 generated)
|