summaryrefslogtreecommitdiff
path: root/deps/v8/src/v8.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/v8.h')
-rw-r--r--deps/v8/src/v8.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/deps/v8/src/v8.h b/deps/v8/src/v8.h
index bf4240fa70..e5a40cb51f 100644
--- a/deps/v8/src/v8.h
+++ b/deps/v8/src/v8.h
@@ -14,6 +14,8 @@ class StartupData;
namespace internal {
+class Isolate;
+
class V8 : public AllStatic {
public:
// Global actions.
@@ -23,8 +25,9 @@ class V8 : public AllStatic {
// Report process out of memory. Implementation found in api.cc.
// This function will not return, but will terminate the execution.
- static void FatalProcessOutOfMemory(const char* location,
- bool is_heap_oom = false);
+ [[noreturn]] static void FatalProcessOutOfMemory(Isolate* isolate,
+ const char* location,
+ bool is_heap_oom = false);
static void InitializePlatform(v8::Platform* platform);
static void ShutdownPlatform();