/external/v8/src/interpreter/ |
D | source-position-table.cc | 38 value.source_position += other.source_position; in AddAndSetEntry() 46 value.source_position -= other.source_position; in SubtractFromEntry() 72 EncodeInt(bytes, entry.source_position); in EncodeEntry() 102 DecodeInt(bytes, index, &entry->source_position); in DecodeEntry() 108 int source_position, in AddPosition() argument 111 AddEntry({offset, source_position, is_statement}); in AddPosition() 123 entry.source_position)); in AddEntry() 127 entry.source_position)); in AddEntry() 150 DCHECK_EQ(encoded.source_position(), raw->source_position); in ToSourcePositionTable()
|
D | bytecode-pipeline.h | 61 BytecodeSourceInfo(int source_position, bool is_statement) in BytecodeSourceInfo() argument 64 source_position_(source_position) { in BytecodeSourceInfo() 65 DCHECK_GE(source_position, 0); in BytecodeSourceInfo() 69 void MakeStatementPosition(int source_position) { in MakeStatementPosition() argument 76 source_position_ = source_position; in MakeStatementPosition() 82 void MakeExpressionPosition(int source_position) { in MakeExpressionPosition() argument 85 source_position_ = source_position; in MakeExpressionPosition() 89 void ForceExpressionPosition(int source_position) { in ForceExpressionPosition() argument 91 source_position_ = source_position; in ForceExpressionPosition() 102 int source_position() const { in source_position() function
|
D | source-position-table.h | 26 : bytecode_offset(0), source_position(0), is_statement(false) {} in PositionTableEntry() 29 source_position(source), in PositionTableEntry() 33 int source_position; member 48 void AddPosition(size_t bytecode_offset, int source_position, 74 int source_position() const { in source_position() function 76 return current_.source_position; in source_position()
|
D | bytecode-pipeline.cc | 133 os << info.source_position() << ' ' << description << '>'; in operator <<()
|
D | bytecode-array-writer.cc | 103 source_info.source_position(), in UpdateSourcePositionTable()
|
/external/v8/test/cctest/interpreter/ |
D | source-position-matcher.cc | 21 return lhs.source_position < rhs.source_position; in operator ()() 102 if (original.source_position() != optimized.source_position()) { in Match() 153 CHECK(original.source_position > 0); in CompareExpressionPositions() 155 (original.source_position != optimized.source_position) || in CompareExpressionPositions() 156 (original.source_position < 0)) { in CompareExpressionPositions() 169 CHECK(expression_positions->at(i).source_position > 0 && in StripUnneededExpressionPositions() 217 iterator->source_position(), in MoveToNextStatement()
|
D | bytecode-expectations-printer.cc | 206 << source_iterator.source_position(); in PrintSourcePosition()
|
/external/v8/test/unittests/interpreter/ |
D | source-position-table-unittest.cc | 60 int source_position = 0; in TEST_F() local 63 source_position += offsets[i]; in TEST_F() 65 builder.AddPosition(code_offset, source_position, true); in TEST_F() 67 builder.AddPosition(code_offset, source_position, false); in TEST_F() 74 source_position -= offsets[i]; in TEST_F() 76 builder.AddPosition(code_offset, source_position, true); in TEST_F() 78 builder.AddPosition(code_offset, source_position, false); in TEST_F()
|
D | bytecode-pipeline-unittest.cc | 20 CHECK_EQ(x.source_position(), 0); in TEST() 37 CHECK_EQ(y.source_position(), 1); in TEST() 41 CHECK_EQ(y.source_position(), 2); in TEST() 46 CHECK_EQ(y.source_position(), 3); in TEST() 50 CHECK_EQ(y.source_position(), 3); in TEST()
|
D | bytecode-array-writer-unittest.cc | 149 CHECK_EQ(source_iterator.source_position(), expected.source_position); in TEST_F() 245 CHECK_EQ(source_iterator.source_position(), expected.source_position); in TEST_F()
|
D | bytecode-peephole-optimizer-unittest.cc | 336 CHECK_EQ(second.source_info().source_position(), 3); in TEST_F() 362 first.source_info().source_position()); in TEST_F()
|
/external/v8/src/runtime/ |
D | runtime-debug.cc | 987 CONVERT_NUMBER_CHECKED(int32_t, source_position, Int32, args[1]); in RUNTIME_FUNCTION() 988 RUNTIME_ASSERT(source_position >= function->shared()->start_position() && in RUNTIME_FUNCTION() 989 source_position <= function->shared()->end_position()); in RUNTIME_FUNCTION() 994 function, break_point_object_arg, &source_position)); in RUNTIME_FUNCTION() 996 return Smi::FromInt(source_position); in RUNTIME_FUNCTION() 1012 CONVERT_NUMBER_CHECKED(int32_t, source_position, Int32, args[1]); in RUNTIME_FUNCTION() 1013 RUNTIME_ASSERT(source_position >= 0); in RUNTIME_FUNCTION() 1029 &source_position, alignment)) { in RUNTIME_FUNCTION() 1033 return Smi::FromInt(source_position); in RUNTIME_FUNCTION() 1369 CONVERT_NUMBER_CHECKED(int32_t, source_position, Int32, args[1]); in RUNTIME_FUNCTION() [all …]
|
D | runtime-generator.cc | 139 return Smi::FromInt(generator->source_position()); in RUNTIME_FUNCTION()
|
/external/v8/src/debug/ |
D | debug.cc | 203 position_ = source_position_iterator_.source_position() - start_position_; in Next() 765 int* source_position) { in SetBreakPoint() argument 777 DCHECK(*source_position >= 0); in SetBreakPoint() 781 debug_info, *source_position, STATEMENT_ALIGNED); in SetBreakPoint() 782 *source_position = location.statement_position(); in SetBreakPoint() 794 int* source_position, in SetBreakPointForScript() argument 800 FindSharedFunctionInfoInScript(script, *source_position); in SetBreakPointForScript() 813 if (shared->start_position() > *source_position) { in SetBreakPointForScript() 816 position = *source_position - shared->start_position(); in SetBreakPointForScript() 833 *source_position = position + shared->start_position(); in SetBreakPointForScript() [all …]
|
D | debug.js | 131 function MakeBreakPoint(source_position, opt_script_break_point) { argument 132 var break_point = new BreakPoint(source_position, opt_script_break_point); 142 function BreakPoint(source_position, opt_script_break_point) { argument 143 this.source_position_ = source_position; 164 BreakPoint.prototype.source_position = function() { method in BreakPoint 593 var source_position = break_position - this.sourcePosition(func); 604 source_position += %FunctionGetScriptSourcePosition(func); 607 var location = script.locationFromPosition(source_position, false); 613 var break_point = MakeBreakPoint(source_position); 615 %SetFunctionBreakPoint(func, source_position, break_point);
|
D | debug.h | 447 int* source_position); 450 int* source_position,
|
D | debug-scopes.cc | 430 int source_position = frame_inspector_->GetSourcePosition(); in RetrieveScopeChain() local 431 GetNestedScopeChain(isolate_, scope, source_position); in RetrieveScopeChain()
|
D | liveedit.cc | 1247 int position = iterator.source_position(); in PatchPositionsInBytecodeArray()
|
/external/v8/src/compiler/ |
D | code-generator.cc | 395 SourcePosition source_position; in AssembleSourcePosition() local 396 if (!code()->GetSourcePosition(instr, &source_position)) return; in AssembleSourcePosition() 397 if (source_position == current_source_position_) return; in AssembleSourcePosition() 398 current_source_position_ = source_position; in AssembleSourcePosition() 399 if (source_position.IsUnknown()) return; in AssembleSourcePosition() 400 int code_pos = source_position.raw(); in AssembleSourcePosition()
|
D | instruction-selector.cc | 739 SourcePosition source_position = source_positions_->GetSourcePosition(node); in VisitBlock() local 740 if (source_position.IsKnown() && in VisitBlock() 744 source_position); in VisitBlock()
|
/external/v8/src/profiler/ |
D | profiler-listener.cc | 116 int line_number = script->GetLineNumber(it.source_position()) + 1; in CodeCreateEvent() 298 int source_position = Deoptimizer::ComputeSourcePosition(shared, ast_id); in RecordDeoptInlinedFrames() local 304 CodeEntry::DeoptInlinedFrame frame = {source_position, script_id}; in RecordDeoptInlinedFrames()
|
/external/v8/src/crankshaft/ |
D | hydrogen.h | 1099 from->Goto(target, source_position(), state, add_simulate); 1115 block->AddLeaveInlined(return_value, state, source_position()); in AddLeaveInlined() 1951 SourcePosition source_position() { return position_; } in source_position() function
|
D | hydrogen.cc | 82 old_position = source_position(); \ 97 old_position = source_position(); \ 1427 current_block()->AddInstruction(instr, source_position()); in AddInstruction() 1439 current_block()->Finish(last, source_position()); in FinishCurrentBlock() 1449 current_block()->FinishExit(instruction, source_position()); in FinishExitCurrentBlock() 1473 current_block()->AddNewSimulate(id, source_position(), removable); in AddSimulate() 4262 outer_source_position_ = owner->source_position(); in FunctionState() 8645 inlining_id = TraceInlinedFunction(target_shared, source_position()); in TryInline()
|
/external/v8/src/ |
D | objects-printer.cc | 1218 os << "\n - source_position: " << source_position(); in BreakPointInfoPrint()
|
D | objects.h | 7467 int source_position() const; 10700 int source_position, int statement_position, 10745 DECL_INT_ACCESSORS(source_position)
|