Index: src/regexp-macro-assembler.cc |
diff --git a/src/regexp-macro-assembler.cc b/src/regexp-macro-assembler.cc |
index 3ebf5a8e00bb17a746b60d08d8a1e4139ee8e65e..fa792768bc3b149f546fd7bc93e28de619838a76 100644 |
--- a/src/regexp-macro-assembler.cc |
+++ b/src/regexp-macro-assembler.cc |
@@ -113,8 +113,8 @@ NativeRegExpMacroAssembler::Result NativeRegExpMacroAssembler::Match( |
ASSERT(previous_index <= subject->length()); |
// No allocations before calling the regexp, but we can't use |
- // AssertNoAllocation, since regexps might be preempted, and another thread |
- // might do allocation anyway. |
+ // DisallowHeapAllocation, since regexps might be preempted, and another |
+ // thread might do allocation anyway. |
String* subject_ptr = *subject; |
// Character offsets into string. |