• bmeurer's avatar
    [runtime] Store constructor function index on primitive maps. · 6c743b2b
    bmeurer authored
    This way we can greatly simplify the different variants of ToObject in
    our codebase and make them more uniform and robust.  Adding a new
    primitive doesn't require finding and changing all those places again,
    but it is sufficient to setup the constructor function index when
    allocating the map.
    
    We use the inobject properties field of Map, which is invalid primitive
    maps anyway.
    
    R=jkummerow@chromium.org
    
    Review URL: https://codereview.chromium.org/1276533003
    
    Cr-Commit-Position: refs/heads/master@{#30119}
    6c743b2b
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...
access-compiler.cc Loading commit data...
access-compiler.h Loading commit data...
call-optimization.cc Loading commit data...
call-optimization.h Loading commit data...
handler-compiler.cc Loading commit data...
handler-compiler.h Loading commit data...
ic-compiler.cc Loading commit data...
ic-compiler.h Loading commit data...
ic-inl.h Loading commit data...
ic-state.cc Loading commit data...
ic-state.h Loading commit data...
ic.cc Loading commit data...
ic.h Loading commit data...
stub-cache.cc Loading commit data...
stub-cache.h Loading commit data...