![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <cc-generator.h>
Public Member Functions | |
| CCGenerator (const ControlFlowGraph &cfg, std::ostream &out, bool is_cc_debug=false) | |
| std::optional< Stack< std::string > > | EmitGraph (Stack< std::string > parameters) |
Public Member Functions inherited from v8::internal::torque::TorqueCodeGenerator | |
| TorqueCodeGenerator (const ControlFlowGraph &cfg, std::ostream &out) | |
Static Public Member Functions | |
| static void | EmitCCValue (VisitResult result, const Stack< std::string > &values, std::ostream &out) |
Private Member Functions | |
| void | EmitSourcePosition (SourcePosition pos, bool always_emit=false) override |
| void | EmitGoto (const Block *destination, Stack< std::string > *stack, std::string indentation) |
| std::vector< std::string > | ProcessArgumentsCommon (const TypeVector ¶meter_types, std::vector< std::string > constexpr_arguments, Stack< std::string > *stack) |
| Stack< std::string > | EmitBlock (const Block *block) |
Private Attributes | |
| bool | is_cc_debug_ |
Additional Inherited Members | |
Protected Member Functions inherited from v8::internal::torque::TorqueCodeGenerator | |
| std::string | DefinitionToVariable (const DefinitionLocation &location) |
| void | SetDefinitionVariable (const DefinitionLocation &definition, const std::string &str) |
| std::ostream & | out () |
| std::ostream & | decls () |
| std::string | FreshNodeName () |
| std::string | FreshCatchName () |
| std::string | FreshLabelName () |
| std::string | BlockName (const Block *block) |
| void | EmitInstruction (const Instruction &instruction, Stack< std::string > *stack) |
| template<typename T > | |
| void | EmitIRAnnotation (const T &instruction, Stack< std::string > *stack) |
Static Protected Member Functions inherited from v8::internal::torque::TorqueCodeGenerator | |
| static bool | IsEmptyInstruction (const Instruction &instruction) |
Protected Attributes inherited from v8::internal::torque::TorqueCodeGenerator | |
| const ControlFlowGraph & | cfg_ |
| std::ostream * | out_ |
| std::ostream * | out_decls_ |
| size_t | fresh_id_ = 0 |
| SourcePosition | previous_position_ |
| std::map< DefinitionLocation, std::string > | location_map_ |
Definition at line 14 of file cc-generator.h.
|
inline |
Definition at line 16 of file cc-generator.h.
Definition at line 51 of file cc-generator.cc.
|
static |
Definition at line 514 of file cc-generator.cc.
| std::optional< Stack< std::string > > v8::internal::torque::CCGenerator::EmitGraph | ( | Stack< std::string > | parameters | ) |
Definition at line 17 of file cc-generator.cc.
|
overrideprivatevirtual |
Implements v8::internal::torque::TorqueCodeGenerator.
Definition at line 74 of file cc-generator.cc.
|
private |
|
private |
Definition at line 25 of file cc-generator.h.