Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index cee362588050ce732da537a0bc6a0a60fb84fcf4..1a29e1a59fe3ecde0cd0990d2e16bc0d72f50b2d 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -2383,6 +2383,7 @@ void Factory::SetRegExpIrregexpData(Handle<JSRegExp> regexp, |
store->set(JSRegExp::kIrregexpMaxRegisterCountIndex, Smi::FromInt(0)); |
store->set(JSRegExp::kIrregexpCaptureCountIndex, |
Smi::FromInt(capture_count)); |
+ store->set(JSRegExp::kIrregexpCaptureNameMapIndex, uninitialized); |
regexp->set_data(*store); |
} |