• Jakob Kummerow's avatar
    [modules] Speed up access to module exports · 24b88776
    Jakob Kummerow authored
    By adding LoadIC support for JSModuleNamespace objects. The index
    of the corresponding slot in the Module's "exports" dictionary is
    cached in the feedback vector, so the value can be loaded directly,
    without having to call the C++ accessor.
    This speeds up the "foo" property access in code like the following
    snippet by about 10x:
      import * as m from "module.js"
      m.foo;
    
    Bug: v8:1569
    Change-Id: I152abedcbdc6f90b5bedd203cfdf97ed88d1137c
    Reviewed-on: https://chromium-review.googlesource.com/631136
    Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
    Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#47625}
    24b88776
Name
Last commit
Last update
..
arguments-inl.h Loading commit data...
arguments.h Loading commit data...
code-cache-inl.h Loading commit data...
code-cache.h Loading commit data...
compilation-cache-inl.h Loading commit data...
compilation-cache.h Loading commit data...
debug-objects-inl.h Loading commit data...
debug-objects.cc Loading commit data...
debug-objects.h Loading commit data...
descriptor-array.h Loading commit data...
dictionary.h Loading commit data...
frame-array-inl.h Loading commit data...
frame-array.h Loading commit data...
hash-table-inl.h Loading commit data...
hash-table.h Loading commit data...
intl-objects.cc Loading commit data...
intl-objects.h Loading commit data...
literal-objects.cc Loading commit data...
literal-objects.h Loading commit data...
map-inl.h Loading commit data...
map.h Loading commit data...
module-inl.h Loading commit data...
module.cc Loading commit data...
module.h Loading commit data...
name-inl.h Loading commit data...
name.h Loading commit data...
object-macros-undef.h Loading commit data...
object-macros.h Loading commit data...
regexp-match-info.h Loading commit data...
scope-info.cc Loading commit data...
scope-info.h Loading commit data...
script-inl.h Loading commit data...
script.h Loading commit data...
shared-function-info-inl.h Loading commit data...
shared-function-info.h Loading commit data...
string-inl.h Loading commit data...
string-table.h Loading commit data...
string.h Loading commit data...