diff options
Diffstat (limited to 'deps/v8/src/codegen.h')
-rw-r--r-- | deps/v8/src/codegen.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/deps/v8/src/codegen.h b/deps/v8/src/codegen.h index 243d87ca64..d6967b7aff 100644 --- a/deps/v8/src/codegen.h +++ b/deps/v8/src/codegen.h @@ -70,6 +70,9 @@ // Mode to overwrite BinaryExpression values. enum OverwriteMode { NO_OVERWRITE, OVERWRITE_LEFT, OVERWRITE_RIGHT }; +// Types of uncatchable exceptions. +enum UncatchableExceptionType { OUT_OF_MEMORY, TERMINATION }; + #if V8_TARGET_ARCH_IA32 #include "ia32/codegen-ia32.h" @@ -291,12 +294,14 @@ class CEntryStub : public CodeStub { void GenerateBody(MacroAssembler* masm, bool is_debug_break); void GenerateCore(MacroAssembler* masm, Label* throw_normal_exception, + Label* throw_termination_exception, Label* throw_out_of_memory_exception, StackFrame::Type frame_type, bool do_gc, bool always_allocate_scope); void GenerateThrowTOS(MacroAssembler* masm); - void GenerateThrowOutOfMemory(MacroAssembler* masm); + void GenerateThrowUncatchable(MacroAssembler* masm, + UncatchableExceptionType type); private: Major MajorKey() { return CEntry; } |