V8 Project
v8::internal::compiler::ControlBuilder Class Reference

#include <control-builders.h>

+ Inheritance diagram for v8::internal::compiler::ControlBuilder:
+ Collaboration diagram for v8::internal::compiler::ControlBuilder:

Public Member Functions

 ControlBuilder (StructuredGraphBuilder *builder)
 
virtual ~ControlBuilder ()
 
virtual void Break ()
 
virtual void Continue ()
 

Protected Types

typedef StructuredGraphBuilder Builder
 
typedef StructuredGraphBuilder::Environment Environment
 

Protected Member Functions

Zonezone () const
 
Environmentenvironment ()
 
void set_environment (Environment *env)
 

Protected Attributes

Builderbuilder_
 

Detailed Description

Definition at line 21 of file control-builders.h.

Member Typedef Documentation

◆ Builder

◆ Environment

Constructor & Destructor Documentation

◆ ControlBuilder()

v8::internal::compiler::ControlBuilder::ControlBuilder ( StructuredGraphBuilder builder)
inlineexplicit

Definition at line 23 of file control-builders.h.

24  : builder_(builder) {}

◆ ~ControlBuilder()

virtual v8::internal::compiler::ControlBuilder::~ControlBuilder ( )
inlinevirtual

Definition at line 25 of file control-builders.h.

25 {}

Member Function Documentation

◆ Break()

virtual void v8::internal::compiler::ControlBuilder::Break ( )
inlinevirtual

Reimplemented in v8::internal::compiler::BlockBuilder, v8::internal::compiler::SwitchBuilder, and v8::internal::compiler::LoopBuilder.

Definition at line 28 of file control-builders.h.

28 { UNREACHABLE(); }
#define UNREACHABLE()
Definition: logging.h:30

References UNREACHABLE.

◆ Continue()

virtual void v8::internal::compiler::ControlBuilder::Continue ( )
inlinevirtual

Reimplemented in v8::internal::compiler::LoopBuilder.

Definition at line 29 of file control-builders.h.

29 { UNREACHABLE(); }

References UNREACHABLE.

◆ environment()

Environment* v8::internal::compiler::ControlBuilder::environment ( )
inlineprotected

◆ set_environment()

void v8::internal::compiler::ControlBuilder::set_environment ( Environment env)
inlineprotected

Definition at line 37 of file control-builders.h.

References builder_, and v8::internal::compiler::StructuredGraphBuilder::set_environment().

Referenced by v8::internal::compiler::SwitchBuilder::BeginCase(), v8::internal::compiler::IfBuilder::Else(), v8::internal::compiler::IfBuilder::End(), v8::internal::compiler::BlockBuilder::EndBlock(), v8::internal::compiler::LoopBuilder::EndBody(), v8::internal::compiler::SwitchBuilder::EndLabel(), v8::internal::compiler::LoopBuilder::EndLoop(), and v8::internal::compiler::SwitchBuilder::EndSwitch().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ zone()

Zone* v8::internal::compiler::ControlBuilder::zone ( ) const
inlineprotected

Definition at line 35 of file control-builders.h.

References builder_, and v8::internal::compiler::StructuredGraphBuilder::zone().

Referenced by v8::internal::compiler::SwitchBuilder::BeginSwitch().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ builder_


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