v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
code-kind.h File Reference
#include "src/base/bounds.h"
#include "src/base/flags.h"
#include "src/flags/flags.h"
Include dependency graph for code-kind.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 CODE_KIND_LIST(V)
 
#define DEFINE_CODE_KIND_ENUM(name)
 
#define V(...)
 
#define V(name)
 
#define V(name)
 

Typedefs

using v8::internal::CodeKinds = base::Flags<CodeKindFlag>
 

Enumerations

enum class  v8::internal::CodeKind : uint8_t { v8::internal::DEFINE_CODE_KIND_ENUM }
 
enum class  v8::internal::CodeKindFlag { v8::internal::V }
 

Functions

const char * v8::internal::CodeKindToString (CodeKind kind)
 
const char * v8::internal::CodeKindToMarker (CodeKind kind, bool context_specialized)
 
constexpr bool v8::internal::CodeKindIsInterpretedJSFunction (CodeKind kind)
 
constexpr bool v8::internal::CodeKindIsBaselinedJSFunction (CodeKind kind)
 
constexpr bool v8::internal::CodeKindIsUnoptimizedJSFunction (CodeKind kind)
 
constexpr bool v8::internal::CodeKindIsOptimizedJSFunction (CodeKind kind)
 
constexpr bool v8::internal::CodeKindIsJSFunction (CodeKind kind)
 
constexpr bool v8::internal::CodeKindIsBuiltinOrJSFunction (CodeKind kind)
 
constexpr bool v8::internal::CodeKindCanDeoptimize (CodeKind kind)
 
constexpr bool v8::internal::CodeKindCanOSR (CodeKind kind)
 
constexpr bool v8::internal::CodeKindCanTierUp (CodeKind kind)
 
constexpr bool v8::internal::CodeKindIsStoredInOptimizedCodeCache (CodeKind kind)
 
constexpr bool v8::internal::CodeKindUsesBytecodeOrInterpreterData (CodeKind kind)
 
constexpr bool v8::internal::CodeKindUsesDeoptimizationData (CodeKind kind)
 
constexpr bool v8::internal::CodeKindUsesBytecodeOffsetTable (CodeKind kind)
 
constexpr bool v8::internal::CodeKindMayLackSourcePositionTable (CodeKind kind)
 
CodeKind v8::internal::CodeKindForTopTier ()
 
constexpr CodeKindFlag v8::internal::CodeKindToCodeKindFlag (CodeKind kind)
 

Variables

static constexpr int v8::internal::kCodeKindCount = CODE_KIND_LIST(V)
 
static constexpr CodeKinds v8::internal::kJSFunctionCodeKindsMask
 
static constexpr CodeKinds v8::internal::kOptimizedJSFunctionCodeKindsMask
 

Macro Definition Documentation

◆ CODE_KIND_LIST

#define CODE_KIND_LIST ( V)
Value:
V(BYTECODE_HANDLER) \
V(FOR_TESTING) \
V(BUILTIN) \
V(REGEXP) \
V(WASM_FUNCTION) \
V(WASM_TO_CAPI_FUNCTION) \
V(WASM_TO_JS_FUNCTION) \
V(JS_TO_WASM_FUNCTION) \
V(C_WASM_ENTRY) \
V(INTERPRETED_FUNCTION) \
V(BASELINE) \
V(MAGLEV) \
V(TURBOFAN_JS)
#define BUILTIN(name)
#define V(...)
Definition code-kind.h:41

Definition at line 18 of file code-kind.h.

◆ DEFINE_CODE_KIND_ENUM

#define DEFINE_CODE_KIND_ENUM ( name)
Value:
const char * name
Definition builtins.cc:39

Definition at line 34 of file code-kind.h.

◆ V [1/3]

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

Definition at line 41 of file code-kind.h.

◆ V [2/3]

#define V ( name)
Value:
name = 1 << static_cast<int>(CodeKind::name),

Definition at line 41 of file code-kind.h.

◆ V [3/3]

#define V ( name)
Value:
kind == CodeKind::name ? CodeKindFlag::name:
Builtins::Kind kind
Definition builtins.cc:40

Definition at line 41 of file code-kind.h.