| Index: src/objects-debug.cc
|
| diff --git a/src/objects-debug.cc b/src/objects-debug.cc
|
| index 5b1e0b3adcf5460d7acd1c4c68767ba18a905652..de5b1ddbef73a15f66ab873b0df011caaff34aa1 100644
|
| --- a/src/objects-debug.cc
|
| +++ b/src/objects-debug.cc
|
| @@ -30,6 +30,7 @@
|
| #include "disassembler.h"
|
| #include "disasm.h"
|
| #include "macro-assembler.h"
|
| +#include "jsregexp.h"
|
|
|
| namespace v8 { namespace internal {
|
|
|
| @@ -696,11 +697,8 @@ void JSRegExp::JSRegExpVerify() {
|
| break;
|
| }
|
| case JSRegExp::IRREGEXP: {
|
| - bool is_native = FLAG_regexp_native;
|
| -#ifdef ARM
|
| - // No native regexp on arm yet.
|
| - is_native = false;
|
| -#endif
|
| + bool is_native = RegExpImpl::UseNativeRegexp();
|
| +
|
| FixedArray* arr = FixedArray::cast(data());
|
| Object* ascii_data = arr->get(JSRegExp::kIrregexpASCIICodeIndex);
|
| ASSERT(ascii_data->IsTheHole()
|
|
|