v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
translation-opcode.h File Reference
#include "src/base/macros.h"
Include dependency graph for translation-opcode.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  v8
 
namespace  v8::internal
 

Macros

#define TRANSLATION_JS_FRAME_OPCODE_LIST(V)
 
#define TRANSLATION_FRAME_OPCODE_LIST(V)
 
#define TRANSLATION_OPCODE_LIST(V)
 
#define CASE(name, ...)
 
#define PLUS_ONE(...)
 
#define CASE(name, operand_count)
 
#define CASE(name, operand_count)
 
#define CASE(name, _)
 

Enumerations

enum class  v8::internal::TranslationOpcode { v8::internal::CASE }
 

Functions

int v8::internal::TranslationOpcodeOperandCount (TranslationOpcode o)
 
bool v8::internal::TranslationOpcodeIsBegin (TranslationOpcode o)
 
bool v8::internal::IsTranslationFrameOpcode (TranslationOpcode o)
 
bool v8::internal::IsTranslationJsFrameOpcode (TranslationOpcode o)
 
bool v8::internal::IsTranslationInterpreterFrameOpcode (TranslationOpcode o)
 
std::ostream & v8::internal::operator<< (std::ostream &out, TranslationOpcode opcode)
 

Variables

static constexpr int v8::internal::kNumTranslationOpcodes
 
static constexpr int v8::internal::kNumTranslationJsFrameOpcodes
 
static constexpr int v8::internal::kNumTranslationFrameOpcodes
 
constexpr int v8::internal::kMaxTranslationOperandCount = 6
 

Macro Definition Documentation

◆ CASE [1/4]

#define CASE ( name,
_ )
Value:
case TranslationOpcode::name: \
out << #name; \
break;
const char * name
Definition builtins.cc:39

Definition at line 68 of file translation-opcode.h.

◆ CASE [2/4]

#define CASE ( name,
operand_count )
Value:
operand_count,

Definition at line 68 of file translation-opcode.h.

◆ CASE [3/4]

#define CASE ( name,
operand_count )
Value:
static_assert(operand_count <= kMaxTranslationOperandCount);

Definition at line 68 of file translation-opcode.h.

◆ CASE [4/4]

#define CASE ( name,
... )
Value:

Definition at line 68 of file translation-opcode.h.

◆ PLUS_ONE

#define PLUS_ONE ( ...)
Value:
+1

Definition at line 73 of file translation-opcode.h.

◆ TRANSLATION_FRAME_OPCODE_LIST

#define TRANSLATION_FRAME_OPCODE_LIST ( V)
Value:
V(CONSTRUCT_CREATE_STUB_FRAME, 2) \
V(CONSTRUCT_INVOKE_STUB_FRAME, 1) \
V(BUILTIN_CONTINUATION_FRAME, 3) \
IF_WASM(V, JS_TO_WASM_BUILTIN_CONTINUATION_FRAME, 4) \
IF_WASM(V, WASM_INLINED_INTO_JS_FRAME, 3) \
IF_WASM(V, LIFTOFF_FRAME, 3) \
V(INLINED_EXTRA_ARGUMENTS, 3)
#define V(Name)

Definition at line 20 of file translation-opcode.h.

◆ TRANSLATION_JS_FRAME_OPCODE_LIST

#define TRANSLATION_JS_FRAME_OPCODE_LIST ( V)
Value:
V(INTERPRETED_FRAME_WITH_RETURN, 6) \
V(INTERPRETED_FRAME_WITHOUT_RETURN, 4) \
V(JAVASCRIPT_BUILTIN_CONTINUATION_FRAME, 3) \
V(JAVASCRIPT_BUILTIN_CONTINUATION_WITH_CATCH_FRAME, 3)

Definition at line 14 of file translation-opcode.h.

◆ TRANSLATION_OPCODE_LIST

#define TRANSLATION_OPCODE_LIST ( V)

Definition at line 29 of file translation-opcode.h.