Reviewers: cbruni,
Description:
Native context: debug.js does not load from js builtins object anymore.
This mainly changes how we share ToBoolean, ToNumber and ToString between
native scripts. Instead of putting them on the js builtins object, we now
explicitly export and import those functions.
I also had to change the import/export mechanism slightly. Previously,
exports and imports are hooked up after all native scripts have been
executed. This means that imported functions cannot be called at the time
the native script is executed.
However, since ToBoolean (and also e.g. ObjectDefineProperties) is called
in v8natives.js, I changed the mechanism so that exports from previous
native scripts (runtime.js for ToBoolean) is imported immediately and can
be called.
[email protected]
Please review this at https://codereview.chromium.org/1302533002/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+280, -221 lines):
M src/array.js
M src/arraybuffer.js
M src/date.js
M src/debug/debug.js
M src/debug/mirrors.js
M src/harmony-array.js
M src/harmony-atomics.js
M src/harmony-object.js
M src/harmony-regexp.js
M src/harmony-typedarray.js
M src/i18n.js
M src/json.js
M src/macros.py
M src/messages.js
M src/prologue.js
M src/regexp.js
M src/runtime.js
M src/string.js
M src/symbol.js
M src/typedarray.js
M src/uri.js
M src/v8natives.js
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.