Reviewers: fschneider,

Description:
Support StringLength in hydrogen (similar to ArrayLength).

To avoid deopts a few extra changes were needed:

o Enable megamorphic state for special property loads on
  primitives. We used to flip between monomorphic stubs.
o Extract pure string (no string wrapper support) version of the
  string length stub.

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

Affected files:
  M src/arm/ic-arm.cc
  M src/arm/stub-cache-arm.cc
  M src/ast.h
  M src/ast.cc
  M src/builtins.h
  M src/builtins.cc
  M src/hydrogen.cc
  M src/ia32/ic-ia32.cc
  M src/ia32/stub-cache-ia32.cc
  M src/ic.h
  M src/ic.cc
  M src/stub-cache.h
  M src/x64/ic-x64.cc
  M src/x64/stub-cache-x64.cc


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

Reply via email to