summaryrefslogtreecommitdiff
path: root/deps/v8/src/allocation.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/allocation.h')
-rw-r--r--deps/v8/src/allocation.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/deps/v8/src/allocation.h b/deps/v8/src/allocation.h
index 2fea7b2826..292e1fe23b 100644
--- a/deps/v8/src/allocation.h
+++ b/deps/v8/src/allocation.h
@@ -21,7 +21,6 @@ class Malloced {
void* operator new(size_t size) { return New(size); }
void operator delete(void* p) { Delete(p); }
- static void FatalProcessOutOfMemory();
static void* New(size_t size);
static void Delete(void* p);
};
@@ -59,7 +58,7 @@ class AllStatic {
template <typename T>
T* NewArray(size_t size) {
T* result = new T[size];
- if (result == NULL) Malloced::FatalProcessOutOfMemory();
+ if (result == NULL) FatalProcessOutOfMemory("NewArray");
return result;
}