Index: src/heap-inl.h |
=================================================================== |
--- src/heap-inl.h (revision 1867) |
+++ src/heap-inl.h (working copy) |
@@ -251,11 +251,11 @@ |
__object__ = FUNCTION_CALL; \ |
} \ |
if (!__object__->IsFailure()) RETURN_VALUE; \ |
- if (__object__->IsOutOfMemoryFailure()) { \ |
+ if (__object__->IsOutOfMemoryFailure() || \ |
+ __object__->IsRetryAfterGC()) { \ |
/* TODO(1181417): Fix this. */ \ |
v8::internal::V8::FatalProcessOutOfMemory("CALL_AND_RETRY_2"); \ |
} \ |
- ASSERT(!__object__->IsRetryAfterGC()); \ |
RETURN_EMPTY; \ |
} while (false) |