Reviewers: Lasse Reichstein,

Description:
When strings can change from an ASCII representation to a
UC16 representation we need to be careful about flat strings.
Flat strings can be sliced or cons strings that have a flat
string under them, so when we ask a flat cons or a slice whether
it is ASCII or not we should ask the underlying string about
its representation.  This should fix
http://code.google.com/p/chromium/issues/detail?id=10971

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

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

Affected files:
   M     src/heap.cc
   M     src/ia32/regexp-macro-assembler-ia32.cc
   M     src/interpreter-irregexp.cc
   M     src/jsregexp.cc
   M     src/log.cc
   M     src/objects-inl.h
   M     src/objects.h
   M     src/objects.cc
   M     src/runtime.cc
   M     test/cctest/test-api.cc



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

Reply via email to