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

Go to the source code of this file.

Classes

struct  v8::internal::interpreter::OperandScaler< operand_type, operand_scale >
 
struct  v8::internal::interpreter::BytecodeTraits< implicit_register_use, operands >
 
struct  v8::internal::interpreter::BytecodeTraits< implicit_register_use >
 

Namespaces

namespace  v8
 
namespace  v8::internal
 
namespace  v8::internal::interpreter
 

Macros

#define DECLARE_OPERAND_TYPE_INFO(Name, Scalable, Unsigned, BaseSize)
 
#define DECLARE_OPERAND_TYPE_TRAITS(Name, InfoType)
 

Macro Definition Documentation

◆ DECLARE_OPERAND_TYPE_INFO

#define DECLARE_OPERAND_TYPE_INFO ( Name,
Scalable,
Unsigned,
BaseSize )
Value:
template <> \
struct OperandTypeInfoTraits<OperandTypeInfo::k##Name> { \
static constexpr bool kIsScalable = Scalable; \
static constexpr bool kIsUnsigned = Unsigned; \
static constexpr OperandSize kUnscaledSize = BaseSize; \
};

Definition at line 17 of file bytecode-traits.h.

◆ DECLARE_OPERAND_TYPE_TRAITS

#define DECLARE_OPERAND_TYPE_TRAITS ( Name,
InfoType )
Value:
template <> \
struct OperandTraits<OperandType::k##Name> { \
using TypeInfoTraits = OperandTypeInfoTraits<InfoType>; \
static constexpr OperandTypeInfo kOperandTypeInfo = InfoType; \
};

Definition at line 30 of file bytecode-traits.h.