| Index: src/regexp-macro-assembler.cc
|
| ===================================================================
|
| --- src/regexp-macro-assembler.cc (revision 3257)
|
| +++ src/regexp-macro-assembler.cc (working copy)
|
| @@ -124,11 +124,6 @@
|
|
|
| if (StringShape(subject_ptr).IsCons()) {
|
| subject_ptr = ConsString::cast(subject_ptr)->first();
|
| - } else if (StringShape(subject_ptr).IsSliced()) {
|
| - SlicedString* slice = SlicedString::cast(subject_ptr);
|
| - start_offset += slice->start();
|
| - end_offset += slice->start();
|
| - subject_ptr = slice->buffer();
|
| }
|
| // Ensure that an underlying string has the same ascii-ness.
|
| ASSERT(subject_ptr->IsAsciiRepresentation() == is_ascii);
|
|
|