Index: src/handles.cc |
=================================================================== |
--- src/handles.cc (revision 636) |
+++ src/handles.cc (working copy) |
@@ -39,17 +39,7 @@ |
namespace v8 { namespace internal { |
-#define CALL_GC(RESULT) \ |
- { \ |
- Failure* __failure__ = Failure::cast(RESULT); \ |
- if (!Heap::CollectGarbage(__failure__->requested(), \ |
- __failure__->allocation_space())) { \ |
- /* TODO(1181417): Fix this. */ \ |
- V8::FatalProcessOutOfMemory("Handles"); \ |
- } \ |
- } |
- |
Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray> content, |
Handle<JSArray> array) { |
CALL_HEAP_FUNCTION(content->AddKeysFromJSArray(*array), FixedArray); |
@@ -283,10 +273,6 @@ |
} |
-#undef CALL_HEAP_FUNCTION |
-#undef CALL_GC |
- |
- |
// Compute the property keys from the interceptor. |
v8::Handle<v8::Array> GetKeysForNamedInterceptor(Handle<JSObject> receiver, |
Handle<JSObject> object) { |