V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::interpreter::BytecodeGenerator::ControlScope Class Referenceabstract
Inheritance diagram for v8::internal::interpreter::BytecodeGenerator::ControlScope:
v8::internal::interpreter::BytecodeGenerator::ControlScopeForBreakable v8::internal::interpreter::BytecodeGenerator::ControlScopeForIteration v8::internal::interpreter::BytecodeGenerator::ControlScopeForTopLevel v8::internal::interpreter::BytecodeGenerator::ControlScopeForTryCatch v8::internal::interpreter::BytecodeGenerator::ControlScopeForTryFinally

Classes

class  DeferredCommands
 

Public Member Functions

 ControlScope (BytecodeGenerator *generator)
 
void Break (Statement *stmt)
 
void Continue (Statement *stmt)
 
void ReturnAccumulator (int source_position=kNoSourcePosition)
 
void AsyncReturnAccumulator (int source_position=kNoSourcePosition)
 

Protected Types

enum  Command {
  CMD_BREAK, CMD_CONTINUE, CMD_RETURN, CMD_ASYNC_RETURN,
  CMD_RETHROW
}
 

Protected Member Functions

void PerformCommand (Command command, Statement *statement, int source_position)
 
virtual bool Execute (Command command, Statement *statement, int source_position)=0
 
void PopContextToExpectedDepth ()
 
BytecodeGeneratorgenerator () const
 
ControlScopeouter () const
 
ContextScopecontext () const
 

Static Protected Member Functions

static constexpr bool CommandUsesAccumulator (Command command)
 

Detailed Description

Definition at line 98 of file bytecode-generator.cc.


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