Lines Matching defs:position

49   // source position entry to the return address.
220 // If the frame position is not in the list of breakpoints, return that
221 // position. Return 0 otherwise.
227 int offset = frame->position() - function.code.offset();
353 // Find the insertion position within {all_breakpoints}.
398 // Generate an additional source position for the current byte offset.
451 void RemoveBreakpoint(int func_index, int position, Isolate* isolate) {
461 int offset = position - function.code.offset();
703 int old_position = frame->position();
713 // The frame position should still be the same after OSR.
714 DCHECK_EQ(old_position, frame->position());
719 int position = frame->position();
722 uint8_t opcode = native_module->wire_bytes()[position];
727 return static_cast<size_t>(position) == code.end_offset() - 1;
875 // Return the next breakable position at or after {offset_in_func} in function
877 // Note that 0 is never a breakable position in wasm, since the first byte
916 bool WasmScript::SetBreakPoint(Handle<Script> script, int* position,
918 DCHECK_NE(kOnEntryBreakpointPosition, *position);
922 int func_index = GetContainingWasmFunction(module, *position);
925 int offset_in_func = *position - func.code.offset();
930 *position = func.code.offset() + breakable_offset;
990 int position) {
992 // the right. {position} is either {kOnEntryBreakpointPosition} (which is -1),
994 DCHECK(position == WasmScript::kOnEntryBreakpointPosition || position > 0);
1001 if (GetBreakpointPos(isolate, mid_obj) <= position) {
1009 return left_pos < position ? left + 1 : left;
1015 bool WasmScript::ClearBreakPoint(Handle<Script> script, int position,
1022 int pos = FindBreakpointInfoInsertPos(isolate, breakpoint_infos, position);
1024 // Does a BreakPointInfo object already exist for this position?
1033 // Update array by moving breakpoints up one position.
1050 int func_index = GetContainingWasmFunction(module, position);
1051 native_module->GetDebugInfo()->RemoveBreakpoint(func_index, position,
1094 void WasmScript::AddBreakpointToInfo(Handle<Script> script, int position,
1107 FindBreakpointInfoInsertPos(isolate, breakpoint_infos, position);
1109 // If a BreakPointInfo object already exists for this position, add the new
1113 position) {
1142 isolate->factory()->NewBreakPointInfo(position);
1145 // Now insert new position at insert_pos.
1244 int position,
1250 FindBreakpointInfoInsertPos(isolate, breakpoint_infos, position);
1258 if (breakpoint_info->source_position() != position) return {};