v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::interpreter::BytecodeGenerator::TestResultScope Class Referencefinal
Inheritance diagram for v8::internal::interpreter::BytecodeGenerator::TestResultScope:
Collaboration diagram for v8::internal::interpreter::BytecodeGenerator::TestResultScope:

Public Member Functions

 TestResultScope (BytecodeGenerator *generator, BytecodeLabels *then_labels, BytecodeLabels *else_labels, TestFallthrough fallthrough)
 
 TestResultScope (const TestResultScope &)=delete
 
TestResultScopeoperator= (const TestResultScope &)=delete
 
void SetResultConsumedByTest ()
 
bool result_consumed_by_test ()
 
void InvertControlFlow ()
 
BytecodeLabelNewThenLabel ()
 
BytecodeLabelNewElseLabel ()
 
BytecodeLabelsthen_labels () const
 
BytecodeLabelselse_labels () const
 
void set_then_labels (BytecodeLabels *then_labels)
 
void set_else_labels (BytecodeLabels *else_labels)
 
TestFallthrough fallthrough () const
 
TestFallthrough inverted_fallthrough () const
 
void set_fallthrough (TestFallthrough fallthrough)
 
- Public Member Functions inherited from v8::internal::interpreter::BytecodeGenerator::ExpressionResultScope
 ExpressionResultScope (BytecodeGenerator *generator, Expression::Context kind)
 
 ~ExpressionResultScope ()
 
 ExpressionResultScope (const ExpressionResultScope &)=delete
 
ExpressionResultScopeoperator= (const ExpressionResultScope &)=delete
 
bool IsEffect () const
 
bool IsValue () const
 
bool IsTest () const
 
TestResultScopeAsTest ()
 
void SetResultIsBoolean ()
 
void SetResultIsString ()
 
void SetResultIsInternalizedString ()
 
TypeHint type_hint () const
 

Private Attributes

bool result_consumed_by_test_
 
TestFallthrough fallthrough_
 
BytecodeLabelsthen_labels_
 
BytecodeLabelselse_labels_
 

Detailed Description

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

Constructor & Destructor Documentation

◆ TestResultScope() [1/2]

v8::internal::interpreter::BytecodeGenerator::TestResultScope::TestResultScope ( BytecodeGenerator * generator,
BytecodeLabels * then_labels,
BytecodeLabels * else_labels,
TestFallthrough fallthrough )
inline

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

◆ TestResultScope() [2/2]

v8::internal::interpreter::BytecodeGenerator::TestResultScope::TestResultScope ( const TestResultScope & )
delete

Member Function Documentation

◆ else_labels()

BytecodeLabels * v8::internal::interpreter::BytecodeGenerator::TestResultScope::else_labels ( ) const
inline

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

Here is the caller graph for this function:

◆ fallthrough()

TestFallthrough v8::internal::interpreter::BytecodeGenerator::TestResultScope::fallthrough ( ) const
inline

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

Here is the caller graph for this function:

◆ InvertControlFlow()

void v8::internal::interpreter::BytecodeGenerator::TestResultScope::InvertControlFlow ( )
inline

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

Here is the caller graph for this function:

◆ inverted_fallthrough()

TestFallthrough v8::internal::interpreter::BytecodeGenerator::TestResultScope::inverted_fallthrough ( ) const
inline

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

◆ NewElseLabel()

BytecodeLabel * v8::internal::interpreter::BytecodeGenerator::TestResultScope::NewElseLabel ( )
inline

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

Here is the caller graph for this function:

◆ NewThenLabel()

BytecodeLabel * v8::internal::interpreter::BytecodeGenerator::TestResultScope::NewThenLabel ( )
inline

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

Here is the caller graph for this function:

◆ operator=()

TestResultScope & v8::internal::interpreter::BytecodeGenerator::TestResultScope::operator= ( const TestResultScope & )
delete

◆ result_consumed_by_test()

bool v8::internal::interpreter::BytecodeGenerator::TestResultScope::result_consumed_by_test ( )
inline

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

Here is the caller graph for this function:

◆ set_else_labels()

void v8::internal::interpreter::BytecodeGenerator::TestResultScope::set_else_labels ( BytecodeLabels * else_labels)
inline

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

◆ set_fallthrough()

void v8::internal::interpreter::BytecodeGenerator::TestResultScope::set_fallthrough ( TestFallthrough fallthrough)
inline

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

◆ set_then_labels()

void v8::internal::interpreter::BytecodeGenerator::TestResultScope::set_then_labels ( BytecodeLabels * then_labels)
inline

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

◆ SetResultConsumedByTest()

void v8::internal::interpreter::BytecodeGenerator::TestResultScope::SetResultConsumedByTest ( )
inline

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

Here is the caller graph for this function:

◆ then_labels()

BytecodeLabels * v8::internal::interpreter::BytecodeGenerator::TestResultScope::then_labels ( ) const
inline

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

Here is the caller graph for this function:

Member Data Documentation

◆ else_labels_

BytecodeLabels* v8::internal::interpreter::BytecodeGenerator::TestResultScope::else_labels_
private

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

◆ fallthrough_

TestFallthrough v8::internal::interpreter::BytecodeGenerator::TestResultScope::fallthrough_
private

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

◆ result_consumed_by_test_

bool v8::internal::interpreter::BytecodeGenerator::TestResultScope::result_consumed_by_test_
private

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

◆ then_labels_

BytecodeLabels* v8::internal::interpreter::BytecodeGenerator::TestResultScope::then_labels_
private

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


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