Index: src/interpreter-irregexp.cc |
diff --git a/src/interpreter-irregexp.cc b/src/interpreter-irregexp.cc |
index e678e6cf120d1b92eeb4ef6ab98e2a55fd7351e4..2fc9fd302574357aa21dc9cbd8281fe9bd16ff09 100644 |
--- a/src/interpreter-irregexp.cc |
+++ b/src/interpreter-irregexp.cc |
@@ -618,7 +618,7 @@ RegExpImpl::IrregexpResult IrregexpInterpreter::Match( |
int start_position) { |
ASSERT(subject->IsFlat()); |
- AssertNoAllocation a; |
+ DisallowHeapAllocation no_gc; |
const byte* code_base = code_array->GetDataStartAddress(); |
uc16 previous_char = '\n'; |
String::FlatContent subject_content = subject->GetFlatContent(); |