Index: src/compiler/linkage.h |
diff --git a/src/compiler/linkage.h b/src/compiler/linkage.h |
index 9d9c50876aa1204ca1aff307d3b68540da0faf62..310a87a9ca91f67eaab83ad7b8cbc331e0a62a9e 100644 |
--- a/src/compiler/linkage.h |
+++ b/src/compiler/linkage.h |
@@ -79,12 +79,12 @@ class CallDescriptor : public ZoneObject { |
} |
LinkageLocation GetReturnLocation(int index) { |
- ASSERT(index < return_count_); |
+ DCHECK(index < return_count_); |
return locations_[0 + index]; // return locations start at 0. |
} |
LinkageLocation GetInputLocation(int index) { |
- ASSERT(index < input_count_ + 1); // input_count + 1 is the context. |
+ DCHECK(index < input_count_ + 1); // input_count + 1 is the context. |
return locations_[return_count_ + index]; // inputs start after returns. |
} |