Index: runtime/platform/assert.h |
diff --git a/runtime/platform/assert.h b/runtime/platform/assert.h |
index 9c810c5b3328efd712d4eb9fc3f87a4501d02182..81cb7f11039c69c22db77fe3af6315dedb29cbd4 100644 |
--- a/runtime/platform/assert.h |
+++ b/runtime/platform/assert.h |
@@ -254,6 +254,9 @@ T DynamicAssertionHelper::NotNull(const T p) { |
#define UNREACHABLE() \ |
FATAL("unreachable code") |
+#define OUT_OF_MEMORY() \ |
+ FATAL("Out of memory.") |
+ |
#if defined(DEBUG) |
// DEBUG binaries use assertions in the code. |