Chromium Code Reviews| Index: src/objects-inl.h |
| diff --git a/src/objects-inl.h b/src/objects-inl.h |
| index 267880d7b88994db40c06c02b69787e09e49577a..06f02625569e2c23e9d7bb00a9992685ad59db78 100644 |
| --- a/src/objects-inl.h |
| +++ b/src/objects-inl.h |
| @@ -290,8 +290,10 @@ bool String::IsAsciiRepresentationUnderneath() { |
| return true; |
| case kTwoByteStringTag: |
| return false; |
| - default: // Cons or sliced string. Need to go deeper. |
| - return GetUnderlying()->IsAsciiRepresentation(); |
| + default: |
| + // Cons or sliced string. Need to go deeper. |
| + // Consider slice of cons of externalized. |
| + return GetUnderlying()->IsAsciiRepresentationUnderneath(); |
|
Erik Corry
2011/10/17 12:05:15
Is it possible to make an arbitraryly deep nesting
|
| } |
| } |