Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index c0fa725a539e0002102460cb67978743de5c30e5..7a00868ece963490f23dd3adce5387b0810453c7 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -2237,7 +2237,7 @@ bool Object::IsStringObjectWithCharacterAt(uint32_t index) { |
void Object::VerifyApiCallResultType() { |
-#if ENABLE_EXTRA_CHECKS |
+#if DEBUG |
if (!(IsSmi() || |
IsString() || |
IsSymbol() || |
@@ -2249,7 +2249,7 @@ void Object::VerifyApiCallResultType() { |
IsNull())) { |
FATAL("API call returned invalid object"); |
} |
-#endif // ENABLE_EXTRA_CHECKS |
+#endif // DEBUG |
} |