5#ifndef V8_INTERPRETER_BYTECODE_FLAGS_AND_TOKENS_H_
6#define V8_INTERPRETER_BYTECODE_FLAGS_AND_TOKENS_H_
16class AstStringConstants;
18namespace interpreter {
25 static uint8_t
Encode(
bool use_fast_shallow_clone,
int runtime_flags);
36 static uint8_t
Encode(
int runtime_flags,
bool fast_clone_supported);
47 static uint8_t
Encode(
bool pretenure,
bool is_function_scope,
48 bool might_always_turbofan);
54#define TYPEOF_LITERAL_LIST(V) \
60 V(Undefined, undefined) \
61 V(Function, function) \
68#define DECLARE_LITERAL_FLAG(name, _) k##name,
70#undef DECLARE_LITERAL_FLAG
#define TYPEOF_LITERAL_LIST(V)
static constexpr U kNumValues
static uint8_t Encode(bool use_fast_shallow_clone, int runtime_flags)
DISALLOW_IMPLICIT_CONSTRUCTORS(CreateArrayLiteralFlags)
static uint8_t Encode(bool pretenure, bool is_function_scope, bool might_always_turbofan)
DISALLOW_IMPLICIT_CONSTRUCTORS(CreateClosureFlags)
DISALLOW_IMPLICIT_CONSTRUCTORS(CreateObjectLiteralFlags)
static uint8_t Encode(int runtime_flags, bool fast_clone_supported)
DISALLOW_IMPLICIT_CONSTRUCTORS(StoreLookupSlotFlags)
static LanguageMode GetLanguageMode(uint8_t flags)
static uint8_t Encode(LanguageMode language_mode, LookupHoistingMode lookup_hoisting_mode)
static bool IsLookupHoistingMode(uint8_t flags)
DISALLOW_IMPLICIT_CONSTRUCTORS(TestTypeOfFlags)
DECLARE_LITERAL_FLAG(name, _)
static uint8_t Encode(LiteralFlag literal_flag)
static LiteralFlag GetFlagForLiteral(const AstStringConstants *ast_constants, Literal *literal)
static LiteralFlag Decode(uint8_t raw_flag)
static const char * ToString(LiteralFlag literal_flag)
FunctionLiteral * literal
TryFinallyContinuationToken
static const size_t LanguageModeSize