Home
last modified time | relevance | path

Searched refs:opCode (Results 1 – 5 of 5) sorted by relevance

/ark/js_runtime/ecmascript/regexp/
Dregexp_executor.cpp115 bool RegExpExecutor::HandleOpAll(uint8_t opCode) in HandleOpAll() argument
121 if ((opCode == RegExpOpCode::OP_DOTS) && IsTerminator(currentChar)) { in HandleOpAll()
124 Advance(opCode); in HandleOpAll()
128 bool RegExpExecutor::HandleOpChar(const DynChunk &byteCode, uint8_t opCode) in HandleOpChar() argument
131 if (opCode == RegExpOpCode::OP_CHAR32) { in HandleOpChar()
144 Advance(opCode); in HandleOpChar()
153 bool RegExpExecutor::HandleOpWordBoundary(uint8_t opCode) in HandleOpWordBoundary() argument
156 if (opCode == RegExpOpCode::OP_WORD_BOUNDARY) { in HandleOpWordBoundary()
157 Advance(opCode); in HandleOpWordBoundary()
171 if (((opCode == RegExpOpCode::OP_WORD_BOUNDARY) && in HandleOpWordBoundary()
[all …]
Dregexp_executor.h66 bool HandleOpAll(uint8_t opCode);
67 bool HandleOpChar(const DynChunk &byteCode, uint8_t opCode);
68 bool HandleOpWordBoundary(uint8_t opCode);
69 bool HandleOpLineStart(uint8_t opCode);
70 bool HandleOpLineEnd(uint8_t opCode);
71 void HandleOpSaveStart(const DynChunk &byteCode, uint8_t opCode);
72 void HandleOpSaveEnd(const DynChunk &byteCode, uint8_t opCode);
73 void HandleOpSaveReset(const DynChunk &byteCode, uint8_t opCode);
74 void HandleOpMatch(const DynChunk &byteCode, uint8_t opCode);
75 void HandleOpSplitFirst(const DynChunk &byteCode, uint8_t opCode);
[all …]
Dregexp_opcode.cpp93 RegExpOpCode::RegExpOpCode(uint8_t opCode, int size) : opCode_(opCode), size_(size) {} in RegExpOpCode() argument
98 uint8_t opCode = buf.GetU8(pc); in GetRegExpOpCode() local
99 ASSERT_PRINT(opCode <= g_intrinsicSet.size(), "invalid op code"); in GetRegExpOpCode()
100 return g_intrinsicSet.at(opCode); in GetRegExpOpCode()
104 RegExpOpCode *RegExpOpCode::GetRegExpOpCode(uint8_t opCode) in GetRegExpOpCode() argument
106 ASSERT_PRINT(opCode <= g_intrinsicSet.size(), "invalid op code"); in GetRegExpOpCode()
107 return g_intrinsicSet.at(opCode); in GetRegExpOpCode()
Dregexp_opcode.h69 RegExpOpCode(uint8_t opCode, int size);
75 static RegExpOpCode *GetRegExpOpCode(uint8_t opCode);
/ark/js_runtime/ecmascript/compiler/
Dcircuit_builder.cpp33 GateRef CircuitBuilder::NewSelectorGate(OpCode opCode, GateRef control, int valueCounts, StubMachin… in NewSelectorGate() argument
41 return circuit_->NewGate(opCode, valueCounts, inList, StubMachineType2GateType(type)); in NewSelectorGate()
44 GateRef CircuitBuilder::NewSelectorGate(OpCode opCode, GateRef control, std::vector<GateRef> &value… in NewSelectorGate() argument
53 return circuit_->NewGate(opCode, valueCounts, inList, StubMachineType2GateType(type)); in NewSelectorGate()