/external/v8/src/ |
D | source-position-table.cc | 38 value.source_position += other.source_position; in AddAndSetEntry() 46 value.source_position -= other.source_position; in SubtractFromEntry() 74 EncodeInt(bytes, entry.source_position); in EncodeEntry() 106 entry->source_position = DecodeInt<int64_t>(bytes, index); in DecodeEntry() 122 SourcePosition source_position, in AddPosition() argument 125 DCHECK(source_position.IsKnown()); in AddPosition() 127 AddEntry({offset, source_position.raw(), is_statement}); in AddPosition() 160 DCHECK_EQ(encoded.source_position().raw(), raw->source_position); in ToSourcePositionTable()
|
D | source-position-table.h | 27 : code_offset(0), source_position(0), is_statement(false) {} in PositionTableEntry() 29 : code_offset(offset), source_position(source), is_statement(statement) {} in PositionTableEntry() 32 int64_t source_position; member 43 void AddPosition(size_t code_offset, SourcePosition source_position, 72 SourcePosition source_position() const { in source_position() function 74 return SourcePosition::FromRaw(current_.source_position); in source_position()
|
D | perf-jit.cc | 308 iterator.source_position())); in LogWriteDebugInfo() 323 iterator.source_position())); in LogWriteDebugInfo()
|
D | log.cc | 1153 iter.source_position().ScriptOffset(), in CodeLinePosInfoRecordEvent() 1158 iter.source_position().ScriptOffset(), JitCodeEvent::POSITION); in CodeLinePosInfoRecordEvent()
|
D | factory.h | 342 Handle<BreakPointInfo> NewBreakPointInfo(int source_position);
|
D | objects.cc | 13935 position = iterator.source_position().ScriptOffset(); in SourcePosition() 13948 int p = it.source_position().ScriptOffset(); in SourceStatementPosition() 14581 << it.source_position().ScriptOffset() in Disassemble() 14684 os << std::setw(5) << source_positions.source_position().ScriptOffset(); in Disassemble() 18779 bool DebugInfo::HasBreakPoint(int source_position) { in HasBreakPoint() argument 18781 Object* break_point_info = GetBreakPointInfo(source_position); in HasBreakPoint() 18790 Object* DebugInfo::GetBreakPointInfo(int source_position) { in GetBreakPointInfo() argument 18797 if (break_point_info->source_position() == source_position) { in GetBreakPointInfo() 18824 void DebugInfo::SetBreakPoint(Handle<DebugInfo> debug_info, int source_position, in SetBreakPoint() argument 18828 debug_info->GetBreakPointInfo(source_position), isolate); in SetBreakPoint() [all …]
|
D | objects.h | 7705 int source_position() const; 11373 bool HasBreakPoint(int source_position); 11378 static void SetBreakPoint(Handle<DebugInfo> debug_info, int source_position, 11381 Handle<Object> GetBreakPointObjects(int source_position); 11414 Object* GetBreakPointInfo(int source_position); 11426 DECL_INT_ACCESSORS(source_position)
|
/external/v8/src/interpreter/ |
D | bytecode-pipeline.h | 65 BytecodeSourceInfo(int source_position, bool is_statement) in BytecodeSourceInfo() argument 68 source_position_(source_position) { in BytecodeSourceInfo() 69 DCHECK_GE(source_position, 0); in BytecodeSourceInfo() 73 void MakeStatementPosition(int source_position) { in MakeStatementPosition() argument 80 source_position_ = source_position; in MakeStatementPosition() 86 void MakeExpressionPosition(int source_position) { in MakeExpressionPosition() argument 89 source_position_ = source_position; in MakeExpressionPosition() 93 void ForceExpressionPosition(int source_position) { in ForceExpressionPosition() argument 95 source_position_ = source_position; in ForceExpressionPosition() 98 int source_position() const { in source_position() function
|
D | bytecode-pipeline.cc | 53 os << info.source_position() << ' ' << description << '>'; in operator <<()
|
D | bytecode-array-builder.cc | 100 BytecodeSourceInfo source_position; in CurrentSourcePosition() local 109 source_position = latest_source_info_; in CurrentSourcePosition() 113 return source_position; in CurrentSourcePosition()
|
D | bytecode-array-writer.cc | 99 bytecode_offset, SourcePosition(source_info.source_position()), in UpdateSourcePositionTable()
|
/external/v8/src/debug/ |
D | debug.cc | 147 int BreakIterator::BreakIndexFromPosition(int source_position, in BreakIndexFromPosition() argument 159 if (source_position <= next_position && in BreakIndexFromPosition() 160 next_position - source_position < distance) { in BreakIndexFromPosition() 162 distance = next_position - source_position; in BreakIndexFromPosition() 204 position_ = source_position_iterator_.source_position().ScriptOffset(); in Next() 280 position_ = source_position_iterator_.source_position().ScriptOffset(); in Next() 644 int* source_position) { in SetBreakPoint() argument 652 DCHECK(*source_position >= 0); in SetBreakPoint() 655 *source_position = in SetBreakPoint() 656 FindBreakablePosition(debug_info, *source_position, STATEMENT_ALIGNED); in SetBreakPoint() [all …]
|
D | debug.js | 115 function MakeBreakPoint(source_position, opt_script_break_point) { argument 116 var break_point = new BreakPoint(source_position, opt_script_break_point); 126 function BreakPoint(source_position, opt_script_break_point) { argument 127 this.source_position_ = source_position; 148 BreakPoint.prototype.source_position = function() { method in BreakPoint 529 var source_position = 542 var location = script.locationFromPosition(source_position, false); 548 var break_point = MakeBreakPoint(source_position); 550 %SetFunctionBreakPoint(func, source_position, break_point);
|
D | debug.h | 289 int* source_position); 292 int* source_position, 476 int FindBreakablePosition(Handle<DebugInfo> debug_info, int source_position,
|
D | debug-scopes.cc | 464 int source_position = frame_inspector_->GetSourcePosition(); in RetrieveScopeChain() local 465 GetNestedScopeChain(isolate_, scope, source_position); in RetrieveScopeChain()
|
D | liveedit.cc | 1038 SourcePosition position = iterator.source_position(); in TranslateSourcePositionTable()
|
/external/v8/src/compiler/ |
D | code-generator.cc | 85 SourcePosition source_position(info->shared_info()->start_position()); in GenerateCode() local 86 AssembleSourcePosition(source_position); in GenerateCode() 484 SourcePosition source_position = SourcePosition::Unknown(); in AssembleSourcePosition() local 486 if (!code()->GetSourcePosition(instr, &source_position)) return; in AssembleSourcePosition() 487 AssembleSourcePosition(source_position); in AssembleSourcePosition() 490 void CodeGenerator::AssembleSourcePosition(SourcePosition source_position) { in AssembleSourcePosition() argument 491 if (source_position == current_source_position_) return; in AssembleSourcePosition() 492 current_source_position_ = source_position; in AssembleSourcePosition() 493 if (!source_position.IsKnown()) return; in AssembleSourcePosition() 495 source_position, false); in AssembleSourcePosition() [all …]
|
D | code-generator.h | 71 void AssembleSourcePosition(SourcePosition source_position);
|
D | instruction-selector.cc | 874 SourcePosition source_position = source_positions_->GetSourcePosition(node); in VisitBlock() local 875 if (source_position.IsKnown() && IsSourcePositionUsed(node)) { in VisitBlock() 877 source_position); in VisitBlock()
|
/external/v8/src/runtime/ |
D | runtime-generator.cc | 102 return Smi::FromInt(generator->source_position()); in RUNTIME_FUNCTION()
|
D | runtime-debug.cc | 1079 CONVERT_NUMBER_CHECKED(int32_t, source_position, Int32, args[1]); in RUNTIME_FUNCTION() 1080 CHECK(source_position >= function->shared()->start_position() && in RUNTIME_FUNCTION() 1081 source_position <= function->shared()->end_position()); in RUNTIME_FUNCTION() 1086 &source_position)); in RUNTIME_FUNCTION() 1088 return Smi::FromInt(source_position); in RUNTIME_FUNCTION() 1104 CONVERT_NUMBER_CHECKED(int32_t, source_position, Int32, args[1]); in RUNTIME_FUNCTION() 1105 CHECK(source_position >= 0); in RUNTIME_FUNCTION() 1121 &source_position, alignment)) { in RUNTIME_FUNCTION() 1125 return Smi::FromInt(source_position); in RUNTIME_FUNCTION()
|
/external/v8/src/profiler/ |
D | profiler-listener.cc | 98 if (it.source_position().InliningId() != SourcePosition::kNotInlined) in CodeCreateEvent() 100 int position = it.source_position().ScriptOffset(); in CodeCreateEvent()
|
/external/v8/src/wasm/ |
D | wasm-code-specialization.cc | 35 byte_pos = iterator.source_position().ScriptOffset(); in AdvanceSourcePositionTableIterator()
|
D | wasm-objects.cc | 623 return BreakPointInfo::cast(break_point_info_or_undef)->source_position(); in GetBreakpointPos() 728 int position = breakpoint_info->source_position(); in SetBreakpointsOnNewInstance() 1158 if (breakpoint_info->source_position() != position) return {}; in CheckBreakPoints()
|
/external/v8/src/crankshaft/ |
D | hydrogen.h | 1088 from->Goto(target, source_position(), state, add_simulate); 1104 block->AddLeaveInlined(return_value, state, source_position()); in AddLeaveInlined() 1848 SourcePosition source_position() { return position_; } in source_position() function
|