Index: test/cctest/test-parsing.cc |
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc |
index 62270d8a0c3439f5f6e8f6c2917319bfa7792bce..f52e365f6e3b6cbb789ab10d3d3d97c84e4200e4 100644 |
--- a/test/cctest/test-parsing.cc |
+++ b/test/cctest/test-parsing.cc |
@@ -706,7 +706,7 @@ TEST(Utf8CharacterStream) { |
cursor += unibrow::Utf8::Encode(buffer + cursor, i, |
unibrow::Utf16::kNoPreviousCharacter, true); |
} |
- DCHECK(cursor == kAllUtf8CharsSizeU); |
+ CHECK(cursor == kAllUtf8CharsSizeU); |
i::Utf8ToUtf16CharacterStream stream(reinterpret_cast<const i::byte*>(buffer), |
kAllUtf8CharsSizeU); |
@@ -802,8 +802,8 @@ TEST(StreamScanner) { |
i::Token::EOS, |
i::Token::ILLEGAL |
}; |
- DCHECK_EQ('{', str2[19]); |
- DCHECK_EQ('}', str2[37]); |
+ CHECK_EQ('{', str2[19]); |
+ CHECK_EQ('}', str2[37]); |
TestStreamScanner(&stream2, expectations2, 20, 37); |
const char* str3 = "{}}}}"; |
@@ -3345,8 +3345,8 @@ TEST(SerializationOfMaybeAssignmentFlag) { |
script_scope->Initialize(); |
i::Scope* s = |
i::Scope::DeserializeScopeChain(isolate, &zone, context, script_scope); |
- DCHECK(s != script_scope); |
- DCHECK(name != NULL); |
+ CHECK(s != script_scope); |
+ CHECK(name != NULL); |
// Get result from h's function context (that is f's context) |
i::Variable* var = s->Lookup(name); |
@@ -3393,7 +3393,7 @@ TEST(IfArgumentsArrayAccessedThenParametersMaybeAssigned) { |
script_scope->Initialize(); |
i::Scope* s = |
i::Scope::DeserializeScopeChain(isolate, &zone, context, script_scope); |
- DCHECK(s != script_scope); |
+ CHECK(s != script_scope); |
const i::AstRawString* name_x = avf.GetOneByteString("x"); |
// Get result from f's function context (that is g's outer context) |