Home
last modified time | relevance | path

Searched refs:SourcePosition (Results 1 – 25 of 74) sorted by relevance

123

/external/v8/src/
Dsource-position.h32 class SourcePosition final {
34 explicit SourcePosition(int script_offset, int inlining_id = kNotInlined)
40 static SourcePosition Unknown() { return SourcePosition(kNoSourcePosition); } in Unknown()
70 static SourcePosition FromRaw(int64_t raw) { in FromRaw()
71 SourcePosition position = Unknown(); in FromRaw()
88 inline bool operator==(const SourcePosition& lhs, const SourcePosition& rhs) {
92 inline bool operator!=(const SourcePosition& lhs, const SourcePosition& rhs) {
98 SourcePosition position = SourcePosition::Unknown();
105 SourcePositionInfo(SourcePosition pos, Handle<SharedFunctionInfo> f);
107 SourcePosition position;
[all …]
Dsource-position.cc42 std::ostream& operator<<(std::ostream& out, const SourcePosition& pos) { in operator <<()
52 std::vector<SourcePositionInfo> SourcePosition::InliningStack( in InliningStack()
54 SourcePosition pos = *this; in InliningStack()
65 std::vector<SourcePositionInfo> SourcePosition::InliningStack( in InliningStack()
69 SourcePosition pos = *this; in InliningStack()
85 void SourcePosition::Print(std::ostream& out, in Print()
105 void SourcePosition::Print(std::ostream& out, Code* code) const { in Print()
126 SourcePositionInfo::SourcePositionInfo(SourcePosition pos, in SourcePositionInfo()
Dsource-position-table.h43 void AddPosition(size_t code_offset, SourcePosition source_position,
72 SourcePosition source_position() const { in source_position()
74 return SourcePosition::FromRaw(current_.source_position); in source_position()
Dcodegen.cc149 if (inlining_id != SourcePosition::kNotInlined) { in PrintFunctionSource()
202 const SourcePosition position = h.position.position; in PrintInlinedFunctionInfo()
219 PrintFunctionSource(info, &printed, SourcePosition::kNotInlined, in DumpParticipatingSource()
Dframes.cc743 return code->SourcePosition(code_offset); in position()
1036 int source_pos = code->SourcePosition(code_offset); in PrintFunctionAndOffset()
1105 int source_pos = code->SourcePosition(code_offset); in CollectFunctionAndOffsetForICStats()
1176 int FrameSummary::JavaScriptFrameSummary::SourcePosition() const { in SourcePosition() function in v8::internal::FrameSummary::JavaScriptFrameSummary
1177 return abstract_code()->SourcePosition(code_offset()); in SourcePosition()
1221 int FrameSummary::WasmFrameSummary::SourcePosition() const { in WASM_SUMMARY_DISPATCH()
1267 return AbstractCode::cast(*code())->SourcePosition(code_offset()); in byte_offset()
1336 FRAME_SUMMARY_DISPATCH(int, SourcePosition) in FRAME_SUMMARY_DISPATCH()
1573 return code->SourcePosition(code_offset); in position()
1747 return FrameSummary::GetSingle(this).SourcePosition(); in position()
[all …]
Dcompilation-info.h292 SourcePosition pos) in InlinedFunctionHolder()
310 SourcePosition pos);
/external/v8/src/compiler/
Dcompiler-source-position-table.h22 Scope(SourcePositionTable* source_positions, SourcePosition position) in NON_EXPORTED_BASE()
35 void Init(SourcePosition position) { in NON_EXPORTED_BASE()
40 SourcePosition const prev_position_; in NON_EXPORTED_BASE()
49 SourcePosition GetSourcePosition(Node* node) const; in NON_EXPORTED_BASE()
50 void SetSourcePosition(Node* node, SourcePosition position); in NON_EXPORTED_BASE()
52 void SetCurrentPosition(const SourcePosition& pos) { in NON_EXPORTED_BASE()
63 SourcePosition current_position_; in NON_EXPORTED_BASE()
64 NodeAuxData<SourcePosition, SourcePosition::Unknown> table_; in NON_EXPORTED_BASE()
Dcompiler-source-position-table.cc30 current_position_(SourcePosition::Unknown()), in SourcePositionTable()
45 SourcePosition SourcePositionTable::GetSourcePosition(Node* node) const { in GetSourcePosition()
50 SourcePosition position) { in SetSourcePosition()
58 SourcePosition pos = i.second; in Print()
Dcode-generator-impl.h181 explicit DeoptimizationExit(int deoptimization_id, SourcePosition pos) in DeoptimizationExit()
186 SourcePosition pos() const { return pos_; } in pos()
191 SourcePosition const pos_;
Dcode-generator.h71 void AssembleSourcePosition(SourcePosition source_position);
128 SourcePosition pos);
277 SourcePosition current_source_position_;
Dbytecode-graph-builder.h32 int inlining_id = SourcePosition::kNotInlined);
331 SourcePosition const start_position_;
Dast-graph-builder.h565 int inlining_id = SourcePosition::kNotInlined);
576 SourcePosition(node->position(), start_position_.InliningId())); \
584 SourcePosition const start_position_;
Dcode-generator.cc45 current_source_position_(SourcePosition::Unknown()), in CodeGenerator()
85 SourcePosition source_position(info->shared_info()->start_position()); in GenerateCode()
484 SourcePosition source_position = SourcePosition::Unknown(); in AssembleSourcePosition()
490 void CodeGenerator::AssembleSourcePosition(SourcePosition source_position) { in AssembleSourcePosition()
/external/smali/smalidea/src/main/java/org/jf/smalidea/debugging/
DSmaliPositionManager.java36 import com.intellij.debugger.SourcePosition;
64 …public SourcePosition getSourcePosition(final String declaringType, String methodName, String meth… in getSourcePosition()
91 public SourcePosition getSourcePosition(@Nullable Location location) throws NoDataException { in getSourcePosition()
101 …public List<ReferenceType> getAllClasses(@NotNull SourcePosition classPosition) throws NoDataExcep… in getAllClasses()
111 private String getClassFromPosition(@NotNull final SourcePosition position) { in getClassFromPosition()
125 … @NotNull final SourcePosition position) throws NoDataException {
163 … @NotNull final SourcePosition position) throws NoDataException {
DSmaliSteppingCommandProvider.java34 import com.intellij.debugger.SourcePosition;
49 final SourcePosition[] location = new SourcePosition[1]; in getStepOverCommand()
DSmaliCodeFragmentFactory.java36 import com.intellij.debugger.SourcePosition;
112 public ExpressionEvaluator build(PsiElement codeFragment, SourcePosition position) in getEvaluatorBuilder()
/external/v8/src/profiler/
Dprofiler-listener.cc98 if (it.source_position().InliningId() != SourcePosition::kNotInlined) in CodeCreateEvent()
253 SourcePosition last_position = SourcePosition::Unknown(); in RecordDeoptInlinedFrames()
264 last_position = SourcePosition(script_offset, inlining_id); in RecordDeoptInlinedFrames()
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliMethod.java37 import com.intellij.debugger.SourcePosition;
134 @Nullable public SourcePosition getSourcePositionForCodeOffset(int offset) { in getSourcePositionForCodeOffset()
137 return SourcePosition.createFromElement(instruction); in getSourcePositionForCodeOffset()
DSmaliClass.java36 import com.intellij.debugger.SourcePosition;
393 @Nonnull SourcePosition position) { in getLocationForSourcePosition()
/external/v8/src/crankshaft/
Dhydrogen.h116 void AddInstruction(HInstruction* instr, SourcePosition position);
142 HSimulate* AddNewSimulate(BailoutId ast_id, SourcePosition position,
194 void Finish(HControlInstruction* last, SourcePosition position);
195 void FinishExit(HControlInstruction* instruction, SourcePosition position);
196 void Goto(HBasicBlock* block, SourcePosition position,
198 void GotoNoSimulate(HBasicBlock* block, SourcePosition position) { in GotoNoSimulate()
205 SourcePosition position);
961 SourcePosition outer_source_position_;
1054 position_(SourcePosition::Unknown()), in HGraphBuilder()
1841 SourcePosition ScriptPositionToSourcePosition(int position) { in ScriptPositionToSourcePosition()
[all …]
Dlithium-codegen.h53 void RecordAndWritePosition(SourcePosition position);
Dlithium-codegen.cc145 void LCodeGenBase::RecordAndWritePosition(SourcePosition pos) { in RecordAndWritePosition()
169 SourcePosition position = deopt_info.position; in DeoptComment()
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliMethodTest.java34 import com.intellij.debugger.SourcePosition;
248 SourcePosition sourcePosition = smaliMethod.getSourcePositionForCodeOffset(codeOffset); in checkSourcePosition()
DSmaliPositionManagerTest.java37 import com.intellij.debugger.SourcePosition;
111 SourcePosition sourcePosition = positionManager.getSourcePosition( in testGetSourcePosition()
/external/doclava/src/com/google/doclava/
DConverter.java35 import com.sun.javadoc.SourcePosition;
243 private static SourcePositionInfo convertSourcePosition(SourcePosition sp) { in convertSourcePosition()
281 private static ParameterInfo convertParameter(Parameter p, SourcePosition pos, boolean isVarArg) { in convertParameter()
291 SourcePosition pos = m.position(); in convertParameters()

123