Home
last modified time | relevance | path

Searched refs:byteCode (Results 1 – 7 of 7) sorted by relevance

/arkcompiler/runtime_core/static_core/runtime/regexp/ecmascript/
Dregexp_executor.h71 bool ExecuteInternal(const DynChunk &byteCode, uint32_t pcEnd);
101 inline bool HandleOpChar(const DynChunk &byteCode, uint8_t opCode) in HandleOpChar() argument
105 expectedChar = byteCode.GetU32(GetCurrentPC() + 1); in HandleOpChar()
107 expectedChar = byteCode.GetU16(GetCurrentPC() + 1); in HandleOpChar()
188 inline void HandleOpSaveStart(const DynChunk &byteCode, uint8_t opCode) in HandleOpSaveStart() argument
190 uint32_t captureIndex = byteCode.GetU8(GetCurrentPC() + 1); in HandleOpSaveStart()
198 inline void HandleOpSaveEnd(const DynChunk &byteCode, uint8_t opCode) in HandleOpSaveEnd() argument
200 uint32_t captureIndex = byteCode.GetU8(GetCurrentPC() + 1); in HandleOpSaveEnd()
208 inline void HandleOpSaveReset(const DynChunk &byteCode, uint8_t opCode) in HandleOpSaveReset() argument
210 uint32_t catpureStartIndex = byteCode.GetU8(GetCurrentPC() + SAVE_RESET_START); in HandleOpSaveReset()
[all …]
Dregexp_executor.cpp105 bool RegExpExecutor::ExecuteInternal(const DynChunk &byteCode, uint32_t pcEnd) in ExecuteInternal() argument
112 uint8_t opCode = byteCode.GetU8(GetCurrentPC()); in ExecuteInternal()
123 if (!HandleOpChar(byteCode, opCode)) { in ExecuteInternal()
148 HandleOpSaveStart(byteCode, opCode); in ExecuteInternal()
151 HandleOpSaveEnd(byteCode, opCode); in ExecuteInternal()
154 uint32_t offset = byteCode.GetU32(GetCurrentPC() + 1); in ExecuteInternal()
168 HandleOpSaveReset(byteCode, opCode); in ExecuteInternal()
173 HandleOpMatch(byteCode, opCode); in ExecuteInternal()
176 HandleOpSplitFirst(byteCode, opCode); in ExecuteInternal()
186 HandleOpLoop(byteCode, opCode); in ExecuteInternal()
[all …]
Dregexp_opcode.cpp112 RegExpOpCode *byteCode = GetRegExpOpCode(buf, pc); in DumpRegExpOpCode() local
113 pc = byteCode->DumpOpCode(out, buf, pc); in DumpRegExpOpCode()
/arkcompiler/ets_runtime/ecmascript/regexp/
Dregexp_executor.h58 bool ExecuteInternal(const DynChunk &byteCode, uint32_t pcEnd);
88 inline bool HandleOpChar(const DynChunk &byteCode, uint8_t opCode) in HandleOpChar() argument
92 expectedChar = byteCode.GetU32(GetCurrentPC() + 1); in HandleOpChar()
94 expectedChar = byteCode.GetU16(GetCurrentPC() + 1); in HandleOpChar()
162 inline void HandleOpSaveStart(const DynChunk &byteCode, uint8_t opCode) in HandleOpSaveStart() argument
164 uint32_t captureIndex = byteCode.GetU8(GetCurrentPC() + 1); in HandleOpSaveStart()
172 inline void HandleOpSaveEnd(const DynChunk &byteCode, uint8_t opCode) in HandleOpSaveEnd() argument
174 uint32_t captureIndex = byteCode.GetU8(GetCurrentPC() + 1); in HandleOpSaveEnd()
182 inline void HandleOpSaveReset(const DynChunk &byteCode, uint8_t opCode) in HandleOpSaveReset() argument
184 uint32_t catpureStartIndex = byteCode.GetU8(GetCurrentPC() + SAVE_RESET_START); in HandleOpSaveReset()
[all …]
Dregexp_executor.cpp102 bool RegExpExecutor::ExecuteInternal(const DynChunk &byteCode, uint32_t pcEnd) in ExecuteInternal() argument
109 uint8_t opCode = byteCode.GetU8(GetCurrentPC()); in ExecuteInternal()
120 if (!HandleOpChar(byteCode, opCode)) { in ExecuteInternal()
145 HandleOpSaveStart(byteCode, opCode); in ExecuteInternal()
148 HandleOpSaveEnd(byteCode, opCode); in ExecuteInternal()
151 uint32_t offset = byteCode.GetU32(GetCurrentPC() + 1); in ExecuteInternal()
165 HandleOpSaveReset(byteCode, opCode); in ExecuteInternal()
170 HandleOpMatch(byteCode, opCode); in ExecuteInternal()
173 HandleOpSplitFirst(byteCode, opCode); in ExecuteInternal()
183 HandleOpLoop(byteCode, opCode); in ExecuteInternal()
[all …]
Dregexp_opcode.cpp116 RegExpOpCode *byteCode = GetRegExpOpCode(buf, pc); in DumpRegExpOpCode() local
117 pc = byteCode->DumpOpCode(out, buf, pc); in DumpRegExpOpCode()
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
Ddump.cpp1026 auto byteCode = graph->GetRuntime()->GetBytecodeString(graph->GetMethod(), pc_); in DumpBytecode() local
1027 if (!byteCode.empty()) { in DumpBytecode()
1028 (*out) << byteCode << '\n'; in DumpBytecode()