| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 98813e0d536a6cac54ab6277eb967c02a47a7d6c..a8ab69f85dda4d493d179f5aac4a67f5341778ec 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -6164,18 +6164,6 @@ Local<Integer> v8::Integer::NewFromUnsigned(Isolate* isolate, uint32_t value) {
|
| }
|
|
|
|
|
| -#ifdef DEBUG
|
| -v8::AssertNoGCScope::AssertNoGCScope(v8::Isolate* isolate) {
|
| - disallow_heap_allocation_ = new i::DisallowHeapAllocation();
|
| -}
|
| -
|
| -
|
| -v8::AssertNoGCScope::~AssertNoGCScope() {
|
| - delete static_cast<i::DisallowHeapAllocation*>(disallow_heap_allocation_);
|
| -}
|
| -#endif
|
| -
|
| -
|
| void V8::IgnoreOutOfMemoryException() {
|
| EnterIsolateIfNeeded()->set_ignore_out_of_memory(true);
|
| }
|
|
|