Index: src/regexp-macro-assembler-irregexp-inl.h |
diff --git a/src/regexp-macro-assembler-irregexp-inl.h b/src/regexp-macro-assembler-irregexp-inl.h |
index d7a30fe42f487b9b9bfa7e529eed13a454373f69..942cf575215c55bbcb6b4de72125c16274e34096 100644 |
--- a/src/regexp-macro-assembler-irregexp-inl.h |
+++ b/src/regexp-macro-assembler-irregexp-inl.h |
@@ -21,7 +21,7 @@ namespace internal { |
void RegExpMacroAssemblerIrregexp::Emit(uint32_t byte, |
uint32_t twenty_four_bits) { |
uint32_t word = ((twenty_four_bits << BYTECODE_SHIFT) | byte); |
- ASSERT(pc_ <= buffer_.length()); |
+ DCHECK(pc_ <= buffer_.length()); |
if (pc_ + 3 >= buffer_.length()) { |
Expand(); |
} |
@@ -31,7 +31,7 @@ void RegExpMacroAssemblerIrregexp::Emit(uint32_t byte, |
void RegExpMacroAssemblerIrregexp::Emit16(uint32_t word) { |
- ASSERT(pc_ <= buffer_.length()); |
+ DCHECK(pc_ <= buffer_.length()); |
if (pc_ + 1 >= buffer_.length()) { |
Expand(); |
} |
@@ -41,7 +41,7 @@ void RegExpMacroAssemblerIrregexp::Emit16(uint32_t word) { |
void RegExpMacroAssemblerIrregexp::Emit8(uint32_t word) { |
- ASSERT(pc_ <= buffer_.length()); |
+ DCHECK(pc_ <= buffer_.length()); |
if (pc_ == buffer_.length()) { |
Expand(); |
} |
@@ -51,7 +51,7 @@ void RegExpMacroAssemblerIrregexp::Emit8(uint32_t word) { |
void RegExpMacroAssemblerIrregexp::Emit32(uint32_t word) { |
- ASSERT(pc_ <= buffer_.length()); |
+ DCHECK(pc_ <= buffer_.length()); |
if (pc_ + 3 >= buffer_.length()) { |
Expand(); |
} |