Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 2869f2bc0a44c60551a48ce9f649f66338c5c5f7..701712be32bfd1119cdf5019717ed45bb32e7284 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -773,7 +773,9 @@ class MaybeObject BASE_EMBEDDED { |
return reinterpret_cast<Failure*>(this); |
} |
inline Object* ToObjectUnchecked() { |
- ASSERT(!IsFailure()); |
+ // TODO(jkummerow): Turn this back into an ASSERT when we can be certain |
+ // that it never fires in Release mode in the wild. |
+ CHECK(!IsFailure()); |
return reinterpret_cast<Object*>(this); |
} |
inline Object* ToObjectChecked() { |