Index: runtime/platform/assert.h |
diff --git a/runtime/platform/assert.h b/runtime/platform/assert.h |
index 3ad928c9296825d91c88eb9ec6dfce59ae8c9ff8..d92897dc58163f83d6bdbd00d5575dcedbe2447f 100644 |
--- a/runtime/platform/assert.h |
+++ b/runtime/platform/assert.h |
@@ -256,8 +256,7 @@ void DynamicAssertionHelper::NotNull(const T p) { |
// DEBUG_ASSERT allows identifiers in condition to be undeclared in release |
// mode. |
-#define DEBUG_ASSERT(cond) \ |
- if (!(cond)) dart::Assert(__FILE__, __LINE__).Fail("expected: %s", #cond); |
+#define DEBUG_ASSERT(cond) ASSERT(cond) |
#else // if defined(DEBUG) |