| Index: src/heap-inl.h
|
| ===================================================================
|
| --- src/heap-inl.h (revision 523)
|
| +++ src/heap-inl.h (working copy)
|
| @@ -146,12 +146,9 @@
|
| }
|
|
|
|
|
| -#define GC_GREEDY_CHECK() \
|
| - ASSERT(!FLAG_gc_greedy \
|
| - || v8::internal::Heap::disallow_allocation_failure() \
|
| - || v8::internal::Heap::CollectGarbage(0, NEW_SPACE))
|
| +#define GC_GREEDY_CHECK() \
|
| + ASSERT(!FLAG_gc_greedy || v8::internal::Heap::GarbageCollectionGreedyCheck())
|
|
|
| -
|
| // Do not use the identifier __object__ in a call to this macro.
|
| //
|
| // Call the function FUNCTION_CALL. If it fails with a RetryAfterGC
|
|
|