| Index: src/objects-debug.cc
|
| ===================================================================
|
| --- src/objects-debug.cc (revision 830)
|
| +++ src/objects-debug.cc (working copy)
|
| @@ -670,9 +670,16 @@
|
| }
|
| case JSRegExp::JSCRE: {
|
| FixedArray* arr = FixedArray::cast(data());
|
| - ASSERT(arr->get(JSRegExp::kJscreDataIndex)->IsFixedArray());
|
| + Object* jscre_data = arr->get(JSRegExp::kJscreDataIndex);
|
| + ASSERT(jscre_data->IsFixedArray() || jscre_data->IsUndefined());
|
| break;
|
| }
|
| + case JSRegExp::IRREGEXP: {
|
| + FixedArray* arr = FixedArray::cast(data());
|
| + Object* jscre_data = arr->get(JSRegExp::kJscreDataIndex);
|
| + ASSERT(jscre_data->IsFixedArray());
|
| + break;
|
| + }
|
| default:
|
| ASSERT_EQ(JSRegExp::NOT_COMPILED, TypeTag());
|
| ASSERT(data()->IsUndefined());
|
|
|