Reviewers: Mads Ager,

Description:
- Added a map cache for literal objects. This will
   canonicalize maps for object literals. JSON objects
   with the same set of properties names will then
   share the same map.
   This reduces the amount of generated code associated
   with object literals.
- Added a flag canonicalize_object_literal_maps.
   (default true)
- Changed the format of a function's literal array.
   Only the global context is now stored in the literal prefix.


Please review this at http://codereview.chromium.org/4078

Affected files:
   M     src/ast.cc
   M     src/codegen-ia32.cc
   M     src/contexts.h
   M     src/factory.cc
   M     src/factory.h
   M     src/flag-definitions.h
   M     src/objects-inl.h
   M     src/objects.cc
   M     src/objects.h
   M     src/parser.cc
   M     src/runtime.cc



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to