Index: src/jsregexp.cc |
diff --git a/src/jsregexp.cc b/src/jsregexp.cc |
index ed7b9689ff62ec5a7c896975d98b7b8a884342d9..62d93a722025e092b36e795c7f656b83d80b644e 100644 |
--- a/src/jsregexp.cc |
+++ b/src/jsregexp.cc |
@@ -235,10 +235,8 @@ Handle<Object> RegExpImpl::AtomExec(Handle<JSRegExp> re, |
return isolate->factory()->null_value(); |
} |
- String::FlatContent needle_content = |
- needle->GetFlatContent(no_heap_allocation); |
- String::FlatContent subject_content = |
- subject->GetFlatContent(no_heap_allocation); |
+ String::FlatContent needle_content = needle->GetFlatContent(); |
+ String::FlatContent subject_content = subject->GetFlatContent(); |
ASSERT(needle_content.IsFlat()); |
ASSERT(subject_content.IsFlat()); |
// dispatch on type of strings |