Index: src/mips64/full-codegen-mips64.cc |
diff --git a/src/mips64/full-codegen-mips64.cc b/src/mips64/full-codegen-mips64.cc |
index 83bcf0356edf1b2f8ea17a9be4ba2933a68dd235..d67c990e697004bd42d7c84e82e9dcc74598ebac 100644 |
--- a/src/mips64/full-codegen-mips64.cc |
+++ b/src/mips64/full-codegen-mips64.cc |
@@ -3799,7 +3799,7 @@ void FullCodeGenerator::EmitValueOf(CallRuntime* expr) { |
void FullCodeGenerator::EmitDateField(CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |
DCHECK(args->length() == 2); |
- DCHECK_NE(NULL, args->at(1)->AsLiteral()); |
+ DCHECK(args->at(1)->AsLiteral()); |
Smi* index = Smi::cast(*(args->at(1)->AsLiteral()->value())); |
VisitForAccumulatorValue(args->at(0)); // Load the object. |
@@ -4166,7 +4166,7 @@ void FullCodeGenerator::EmitGetFromCache(CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |
DCHECK_EQ(2, args->length()); |
- DCHECK_NE(NULL, args->at(0)->AsLiteral()); |
+ DCHECK(args->at(0)->AsLiteral()); |
int cache_id = Smi::cast(*(args->at(0)->AsLiteral()->value()))->value(); |
Handle<FixedArray> jsfunction_result_caches( |