• 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
..
OWNERS Loading commit data...
assembler-mips64-inl.h Loading commit data...
assembler-mips64.cc Loading commit data...
assembler-mips64.h Loading commit data...
builtins-mips64.cc Loading commit data...
code-stubs-mips64.cc Loading commit data...
code-stubs-mips64.h Loading commit data...
codegen-mips64.cc Loading commit data...
codegen-mips64.h Loading commit data...
constants-mips64.cc Loading commit data...
constants-mips64.h Loading commit data...
cpu-mips64.cc Loading commit data...
deoptimizer-mips64.cc Loading commit data...
disasm-mips64.cc Loading commit data...
frames-mips64.cc Loading commit data...
frames-mips64.h Loading commit data...
interface-descriptors-mips64.cc Loading commit data...
lithium-codegen-mips64.cc Loading commit data...
lithium-codegen-mips64.h Loading commit data...
lithium-gap-resolver-mips64.cc Loading commit data...
lithium-gap-resolver-mips64.h Loading commit data...
lithium-mips64.cc Loading commit data...
lithium-mips64.h Loading commit data...
macro-assembler-mips64.cc Loading commit data...
macro-assembler-mips64.h Loading commit data...
regexp-macro-assembler-mips64.cc Loading commit data...
regexp-macro-assembler-mips64.h Loading commit data...
simulator-mips64.cc Loading commit data...
simulator-mips64.h Loading commit data...