Home
last modified time | relevance | path

Searched refs:GetBytecodeOffset (Results 1 – 25 of 40) sorted by relevance

12

/arkcompiler/runtime_core/static_core/runtime/interpreter/
Dinstruction_handler_base.h114 auto pc = GetBytecodeOffset(); in UpdateBytecodeOffset()
302 ALWAYS_INLINE uint32_t GetBytecodeOffset() const in GetBytecodeOffset() function
304 return state_->GetBytecodeOffset(); in GetBytecodeOffset()
317 auto pc = this->GetBytecodeOffset(); in UpdateBranchStatistics()
330 auto pc = this->GetBytecodeOffset(); in UpdateThrowStatistics()
342 …return method->DecrementHotnessCounter<false>(this->GetBytecodeOffset() + offset, &this->GetAcc(),… in UpdateHotnessOSR()
Dinstruction_handler_state.h128 ALWAYS_INLINE uint32_t GetBytecodeOffset() const in GetBytecodeOffset() function
Dframe.h197 ALWAYS_INLINE inline uint32_t GetBytecodeOffset() const in GetBytecodeOffset() function
487 ALWAYS_INLINE inline uint32_t GetBytecodeOffset() const in GetBytecodeOffset() function
489 return frame_->GetBytecodeOffset(); in GetBytecodeOffset()
/arkcompiler/ets_runtime/ecmascript/debugger/
Djs_debugger.cpp38 if (location.GetBytecodeOffset() >= ptMethod->GetCodeSize()) { in SetBreakpoint()
44 location.GetBytecodeOffset(), Global<FunctionRef>(ecmaVm_, condFuncRef)); in SetBreakpoint()
62 if (!RemoveBreakpoint(ptMethod, location.GetBytecodeOffset())) { in RemoveBreakpoint()
166 if ((bp.GetBytecodeOffset() == bcOffset) && in FindBreakpoint()
179 if ((bp.GetBytecodeOffset() == bcOffset) && in RemoveBreakpoint()
Djs_debugger.h44 uint32_t GetBytecodeOffset() const in GetBytecodeOffset() function
51 return bcOffset_ == bpoint.GetBytecodeOffset() &&
90 (std::hash<uint32_t>()(bpoint.GetBytecodeOffset())); in operator()
Djs_pt_location.h51 uint32_t GetBytecodeOffset() const in GetBytecodeOffset() function
Ddebugger_api.h60 static uint32_t GetBytecodeOffset(const EcmaVM *ecmaVm);
61 static uint32_t GetBytecodeOffset(const FrameHandler *frameHandler);
Ddebugger_api.cpp127 uint32_t DebuggerApi::GetBytecodeOffset(const EcmaVM *ecmaVm) in GetBytecodeOffset() function in panda::ecmascript::tooling::DebuggerApi
129 return FrameHandler(ecmaVm->GetJSThread()).GetBytecodeOffset(); in GetBytecodeOffset()
146 uint32_t DebuggerApi::GetBytecodeOffset(const FrameHandler *frameHandler) in GetBytecodeOffset() function in panda::ecmascript::tooling::DebuggerApi
148 return frameHandler->GetBytecodeOffset(); in GetBytecodeOffset()
200 uint32_t currentOffset = frameHandler->GetBytecodeOffset(); in GetVregIndex()
880 if (method->FindCatchBlock(frameHandler.GetBytecodeOffset() != INVALID_INDEX)) { in IsExceptionCaught()
/arkcompiler/toolchain/tooling/backend/
Djs_pt_hooks.cpp31 << location.GetBytecodeOffset(); in Breakpoint()
47 LOG_DEBUGGER(VERBOSE) << "JSPtHooks: SingleStep => " << location.GetBytecodeOffset(); in SingleStep()
Djs_single_stepper.cpp127 DebuggerApi::GetBytecodeOffset(ecmaVm)); in GetStepper()
/arkcompiler/toolchain/tooling/test/testcases/
Djs_single_step_test.h67 ASSERT_NE(bytecodeOffset_, location.GetBytecodeOffset()); in JsSingleStepTest()
70 bytecodeOffset_ = location.GetBytecodeOffset(); in JsSingleStepTest()
/arkcompiler/runtime_core/static_core/runtime/include/tooling/
Dpt_location.h43 uint32_t GetBytecodeOffset() const in GetBytecodeOffset() function
/arkcompiler/runtime_core/static_core/runtime/tooling/
Ddebugger.h53 uint32_t GetBytecodeOffset() const in GetBytecodeOffset() function
60 … return GetMethod() == bpoint.GetMethod() && GetBytecodeOffset() == bpoint.GetBytecodeOffset();
76 … (std::hash<Method *>()(bpoint.GetMethod())) ^ (std::hash<uint32_t>()(bpoint.GetBytecodeOffset())); in operator()
86 …std::hash<uint32_t>()(location.GetBytecodeOffset()); // CODECHECK-NOLINT(C_RULE_ID_INDENT_… in operator()
546 uint32_t GetBytecodeOffset() const override in GetBytecodeOffset() function
Ddebugger.cpp84 if (location.GetBytecodeOffset() >= codeSize) { in CheckLocationInClass()
87 … std::to_string(location.GetBytecodeOffset()) + ") >= method code size (" + in CheckLocationInClass()
140 std::to_string(location.GetBytecodeOffset())); in SetBreakpoint()
685 BytecodeInstruction inst(method->GetInstructions() + location.GetBytecodeOffset()); in HandlePropertyAccess()
732 BytecodeInstruction inst(method->GetInstructions() + location.GetBytecodeOffset()); in HandlePropertyModify()
949 bcOffset_ = interpreterFrame->GetBytecodeOffset(); in PtDebugFrame()
/arkcompiler/toolchain/tooling/test/utils/
Dtest_extractor.cpp35 retOffset = jsLocation.GetBytecodeOffset(); in GetBreakpointAddress()
Dtest_util.h164 …tractor.GetSourceLocation(jsPandaFile.get(), location.GetMethodId(), location.GetBytecodeOffset()); in GetSourceLocation()
301 ASSERT_EQ((lhs).GetBytecodeOffset(), (rhs).GetBytecodeOffset()); \
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/
Ddebug_info_cache.cpp49 auto lineNumberIter = std::upper_bound(table.begin(), table.end(), frame.GetBytecodeOffset(), in GetSourceLocation()
63 auto it = std::upper_bound(table.begin(), table.end(), frame.GetBytecodeOffset(), in GetCurrentLineLocations()
307 auto frameOffset = frame.GetBytecodeOffset(); in GetLocals()
/arkcompiler/runtime_core/static_core/runtime/tests/
Ddebugger_test.cpp153 EXPECT_EQ(debugFrame.GetBytecodeOffset(), BYTECODE_OFFSET); in TEST_F()
178 EXPECT_EQ(debugFrame.GetBytecodeOffset(), BYTECODE_OFFSET); in TEST_F()
/arkcompiler/runtime_core/static_core/runtime/bridge/
Dbridge.cpp94 pc = frame->GetMethod()->GetInstructions() + frame->GetBytecodeOffset(); in InvokeInterpreter()
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/tests/
Dtest_frame.h140 uint32_t GetBytecodeOffset() const override in GetBytecodeOffset() function
/arkcompiler/runtime_core/static_core/runtime/tests/tooling/
Dtest_util.h299 ASSERT_EQ((lhs).GetBytecodeOffset(), (rhs).GetBytecodeOffset()); \
Dtest_util.cpp44 … variables = extractor->GetLocalVariableInfo(location.GetMethodId(), location.GetBytecodeOffset()); in GetValueRegister()
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/
Djs_stackgetter.cpp260 uint32_t offset = it.GetBytecodeOffset(); in GetNativeMethodCallPos()
313 uint32_t offset = itNext.GetBytecodeOffset(); in GetCallLineNumber()
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dframe_handler.h202 uint32_t GetBytecodeOffset() const;
/arkcompiler/toolchain/tooling/agent/
Ddebugger_impl.cpp151 if (!singleStepper_->StepComplete(location.GetBytecodeOffset())) { in NotifySingleStep()
188 uint32_t offset = location.GetBytecodeOffset(); in IsSkipLine()
244 uint32_t offset = location->GetBytecodeOffset(); in NotifyPaused()
1415 …if (!extractor->MatchLineWithOffset(callbackLineFunc, methodId, DebuggerApi::GetBytecodeOffset(fra… in GenerateCallFrame()
1416 …r->MatchColumnWithOffset(callbackColumnFunc, methodId, DebuggerApi::GetBytecodeOffset(frameHandler… in GenerateCallFrame()
1417 …GER(ERROR) << "GenerateCallFrame: unknown offset: " << DebuggerApi::GetBytecodeOffset(frameHandler… in GenerateCallFrame()
1627 uint32_t bcOffset = DebuggerApi::GetBytecodeOffset(frameHandler); in GetLocalVariables()

12