• yangguo's avatar
    Native context: debug.js does not load from js builtins object anymore. · eb8c0928
    yangguo authored
    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.
    
    R=cbruni@chromium.org
    
    Review URL: https://codereview.chromium.org/1302533002
    
    Cr-Commit-Position: refs/heads/master@{#30244}
    eb8c0928
Name
Last commit
Last update
..
arm Loading commit data...
arm64 Loading commit data...
ia32 Loading commit data...
mips Loading commit data...
mips64 Loading commit data...
ppc Loading commit data...
x64 Loading commit data...
x87 Loading commit data...
OWNERS Loading commit data...
debug-evaluate.cc Loading commit data...
debug-evaluate.h Loading commit data...
debug-frames.cc Loading commit data...
debug-frames.h Loading commit data...
debug-scopes.cc Loading commit data...
debug-scopes.h Loading commit data...
debug.cc Loading commit data...
debug.h Loading commit data...
debug.js Loading commit data...
liveedit.cc Loading commit data...
liveedit.h Loading commit data...
liveedit.js Loading commit data...
mirrors.js Loading commit data...