Home
last modified time | relevance | path

Searched refs:BYTECODE_MASK (Results 1 - 3 of 3) sorted by relevance

/third_party/node/deps/v8/src/regexp/
H A Dregexp-bytecodes.h20 // BYTECODE_MASK guarantees no OOB access to the dispatch table.
22 constexpr int BYTECODE_MASK = kRegExpPaddedBytecodeCount - 1; member
28 STATIC_ASSERT(1 << BYTECODE_SHIFT > BYTECODE_MASK);
H A Dregexp-bytecodes.cc15 int bytecode = *reinterpret_cast<const int32_t*>(pc) & BYTECODE_MASK; in RegExpBytecodeDisassembleSingle()
H A Dregexp-interpreter.cc334 next_handler_addr = dispatch_table[next_insn & BYTECODE_MASK]; \
398 // Every index to the dispatch table gets masked using BYTECODE_MASK in in RawMatch()
401 // (BYTECODE_MASK is defined to be exactly this value). in RawMatch()
426 // Make sure every bytecode we get by using BYTECODE_MASK is well defined. in RawMatch()
465 switch (insn & BYTECODE_MASK) { in RawMatch()

Completed in 5 milliseconds