Reviewers: Kasper Lund,

Description:
Serendipitously arrange the tags so that String.length() becomes a
branch-free
operation.  I have another version of this change that does not remove
the
special inline caches for difference sized strings.  The other version
is ever
so slightly faster, but the nice thing about this version is that it
removes
253 lines of code.

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

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     src/builtins.h
   M     src/builtins.cc
   M     src/codegen-ia32.cc
   M     src/ic-ia32.cc
   M     src/ic.h
   M     src/ic.cc
   M     src/objects-inl.h
   M     src/objects.h
   M     src/objects.cc
   M     src/stub-cache-ia32.cc
   M     src/stub-cache.h
   M     src/stub-cache.cc



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

Reply via email to