V8 Project
v8::internal::FullCodeGenerator::TryCatch Class Reference
+ Inheritance diagram for v8::internal::FullCodeGenerator::TryCatch:
+ Collaboration diagram for v8::internal::FullCodeGenerator::TryCatch:

Public Member Functions

 TryCatch (FullCodeGenerator *codegen)
 
virtual ~TryCatch ()
 
virtual NestedStatementExit (int *stack_depth, int *context_length)
 

Detailed Description

Definition at line 227 of file full-codegen.h.

Constructor & Destructor Documentation

◆ TryCatch()

v8::internal::FullCodeGenerator::TryCatch::TryCatch ( FullCodeGenerator codegen)
inlineexplicit

Definition at line 229 of file full-codegen.h.

229  : NestedStatement(codegen) {
230  }

◆ ~TryCatch()

virtual v8::internal::FullCodeGenerator::TryCatch::~TryCatch ( )
inlinevirtual

Definition at line 231 of file full-codegen.h.

231 {}

Member Function Documentation

◆ Exit()

FullCodeGenerator::NestedStatement * v8::internal::FullCodeGenerator::TryCatch::Exit ( int stack_depth,
int context_length 
)
virtual

Definition at line 1594 of file full-codegen.cc.

1596  {
1597  // The macros used here must preserve the result register.
1598  __ Drop(*stack_depth);
1599  __ PopTryHandler();
1600  *stack_depth = 0;
1601  return previous_;
1602 }
#define __

References __.


The documentation for this class was generated from the following files: