Reviewers: Jakob, Yang,

Message:
Hey Jakob, Yang,

This is the CL we talked about offline earlier.
Please take a look.

Thanks,
Benedikt

Description:
[runtime] Store constructor function index on primitive maps.

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.

[email protected]

Please review this at https://codereview.chromium.org/1276533003/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+245, -276 lines):
  M src/arm/builtins-arm.cc
  M src/arm64/builtins-arm64.cc
  M src/bootstrapper.cc
  M src/factory.cc
  M src/field-index-inl.h
  M src/heap/heap.cc
  M src/heap/objects-visiting-inl.h
  M src/hydrogen.h
  M src/hydrogen.cc
  M src/hydrogen-instructions.h
  M src/ia32/builtins-ia32.cc
  M src/ic/handler-compiler.cc
  M src/ic/ic-inl.h
  M src/layout-descriptor.cc
  M src/layout-descriptor-inl.h
  M src/mips/builtins-mips.cc
  M src/mips64/builtins-mips64.cc
  M src/objects.h
  M src/objects.cc
  M src/objects-debug.cc
  M src/objects-inl.h
  M src/objects-printer.cc
  M src/ppc/builtins-ppc.cc
  M src/runtime/runtime-collections.cc
  M src/runtime/runtime-object.cc
  M src/x64/builtins-x64.cc
  M src/x87/builtins-x87.cc
  M test/cctest/test-heap.cc
  M test/cctest/test-unboxed-doubles.cc


--
--
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.

Reply via email to