v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
regexp-bytecodes.h File Reference
#include "src/base/bounds.h"
#include "src/base/macros.h"
#include "src/base/strings.h"
#include "src/common/globals.h"
Include dependency graph for regexp-bytecodes.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 BYTECODE_ITERATOR(V)
 
#define COUNT(...)
 
#define DECLARE_BYTECODES(name, code, length)
 
#define DECLARE_BYTECODE_LENGTH(name, code, length)
 
#define DECLARE_BYTECODE_NAME(name, ...)
 

Functions

constexpr int v8::internal::RegExpBytecodeLength (int bytecode)
 
constexpr const char * v8::internal::RegExpBytecodeName (int bytecode)
 
void v8::internal::RegExpBytecodeDisassembleSingle (const uint8_t *code_base, const uint8_t *pc)
 
void v8::internal::RegExpBytecodeDisassemble (const uint8_t *code_base, int length, const char *pattern)
 

Variables

constexpr int v8::internal::kRegExpPaddedBytecodeCount = 1 << 6
 
constexpr int v8::internal::BYTECODE_MASK = kRegExpPaddedBytecodeCount - 1
 
const unsigned int v8::internal::MAX_FIRST_ARG = 0x7fffffu
 
const int v8::internal::BYTECODE_SHIFT = 8
 
static constexpr int v8::internal::kRegExpBytecodeCount = BYTECODE_ITERATOR(COUNT)
 
static constexpr int v8::internal::kRegExpBytecodeLengths []
 
static constexpr const char *const v8::internal::kRegExpBytecodeNames []
 

Macro Definition Documentation

◆ BYTECODE_ITERATOR

#define BYTECODE_ITERATOR ( V)

Definition at line 34 of file regexp-bytecodes.h.

◆ COUNT

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

Definition at line 216 of file regexp-bytecodes.h.

◆ DECLARE_BYTECODE_LENGTH

#define DECLARE_BYTECODE_LENGTH ( name,
code,
length )
Value:

◆ DECLARE_BYTECODE_NAME

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

◆ DECLARE_BYTECODES

#define DECLARE_BYTECODES ( name,
code,
length )
Value:
static constexpr int BC_##name = code;
Handle< Code > code

Definition at line 226 of file regexp-bytecodes.h.