| Index: src/jsregexp.cc
|
| ===================================================================
|
| --- src/jsregexp.cc (revision 1807)
|
| +++ src/jsregexp.cc (working copy)
|
| @@ -429,7 +429,7 @@
|
| #else
|
| RegExpMacroAssemblerIA32::Result res;
|
| do {
|
| - bool is_ascii = StringShape(*subject).IsAsciiRepresentation();
|
| + bool is_ascii = subject->IsAsciiRepresentation();
|
| if (!EnsureCompiledIrregexp(jsregexp, is_ascii)) {
|
| return Handle<Object>::null();
|
| }
|
| @@ -452,7 +452,7 @@
|
| rc = (res == RegExpMacroAssemblerIA32::SUCCESS);
|
| #endif
|
| } else {
|
| - bool is_ascii = StringShape(*subject).IsAsciiRepresentation();
|
| + bool is_ascii = subject->IsAsciiRepresentation();
|
| if (!EnsureCompiledIrregexp(jsregexp, is_ascii)) {
|
| return Handle<Object>::null();
|
| }
|
|
|