Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Unified Diff: src/regexp-macro-assembler-irregexp-inl.h

Issue 430503007: Rename ASSERT* to DCHECK*. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE and fixes Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/regexp-macro-assembler-irregexp.cc ('k') | src/regexp-macro-assembler-tracer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « src/regexp-macro-assembler-irregexp.cc ('k') | src/regexp-macro-assembler-tracer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698