Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 0ad99a61e41dffc7279be56b0fe2371bff40b19c..0ad784a5e47319272898e629dda6bf9d493d2afb 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -2391,6 +2391,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); |
} |