Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 9771d3f052b46249b95071acd0cc8fc246e677e8..cbed39efb13b21777e31f256f29922b796b64fe4 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -8721,7 +8721,7 @@ bool HOptimizedGraphBuilder::TryInlineApiCall(Handle<JSFunction> function, |
case kCallApiGetter: |
// Receiver and prototype chain cannot have changed. |
DCHECK_EQ(0, argc); |
- DCHECK_NULL(receiver); |
+ DCHECK_EQ(NULL, receiver); |
// Receiver is on expression stack. |
receiver = Pop(); |
Add<HPushArguments>(receiver); |
@@ -8731,7 +8731,7 @@ bool HOptimizedGraphBuilder::TryInlineApiCall(Handle<JSFunction> function, |
is_store = true; |
// Receiver and prototype chain cannot have changed. |
DCHECK_EQ(1, argc); |
- DCHECK_NULL(receiver); |
+ DCHECK_EQ(NULL, receiver); |
// Receiver and value are on expression stack. |
HValue* value = Pop(); |
receiver = Pop(); |
@@ -11812,7 +11812,7 @@ void HOptimizedGraphBuilder::GenerateValueOf(CallRuntime* call) { |
void HOptimizedGraphBuilder::GenerateDateField(CallRuntime* call) { |
DCHECK(call->arguments()->length() == 2); |
- DCHECK_NOT_NULL(call->arguments()->at(1)->AsLiteral()); |
+ DCHECK_NE(NULL, call->arguments()->at(1)->AsLiteral()); |
Smi* index = Smi::cast(*(call->arguments()->at(1)->AsLiteral()->value())); |
CHECK_ALIVE(VisitForValue(call->arguments()->at(0))); |
HValue* date = Pop(); |