Home
last modified time | relevance | path

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

123

/external/v8/src/
Dsource-position.h31 class SourcePosition final {
33 explicit SourcePosition(int script_offset, int inlining_id = kNotInlined)
39 static SourcePosition Unknown() { return SourcePosition(kNoSourcePosition); } in Unknown()
71 static SourcePosition FromRaw(int64_t raw) { in FromRaw()
72 SourcePosition position = Unknown(); in FromRaw()
89 inline bool operator==(const SourcePosition& lhs, const SourcePosition& rhs) {
93 inline bool operator!=(const SourcePosition& lhs, const SourcePosition& rhs) {
99 SourcePosition position = SourcePosition::Unknown();
106 SourcePositionInfo(SourcePosition pos, Handle<SharedFunctionInfo> f);
108 SourcePosition position;
[all …]
Dsource-position.cc34 std::ostream& operator<<(std::ostream& out, const SourcePosition& pos) { in operator <<()
44 std::vector<SourcePositionInfo> SourcePosition::InliningStack( in InliningStack()
46 SourcePosition pos = *this; in InliningStack()
57 std::vector<SourcePositionInfo> SourcePosition::InliningStack( in InliningStack()
62 SourcePosition pos = *this; in InliningStack()
78 void SourcePosition::Print(std::ostream& out, in Print()
98 void SourcePosition::PrintJson(std::ostream& out) const { in PrintJson()
103 void SourcePosition::Print(std::ostream& out, Code* code) const { in Print()
124 SourcePositionInfo::SourcePositionInfo(SourcePosition pos, in SourcePositionInfo()
Dsource-position-table.h41 void AddPosition(size_t code_offset, SourcePosition source_position,
90 SourcePosition source_position() const { in source_position()
92 return SourcePosition::FromRaw(current_.source_position); in source_position()
Doptimized-compilation-info.h252 SourcePosition pos) in InlinedFunctionHolder()
269 SourcePosition pos);
Dframes.cc781 return code->SourcePosition(code_offset); in position()
1113 int source_pos = code->SourcePosition(code_offset); in PrintFunctionAndOffset()
1182 int source_pos = code->SourcePosition(code_offset); in CollectFunctionAndOffsetForICStats()
1276 int FrameSummary::JavaScriptFrameSummary::SourcePosition() const { in SourcePosition() function in v8::internal::FrameSummary::JavaScriptFrameSummary
1277 return abstract_code()->SourcePosition(code_offset()); in SourcePosition()
1321 int FrameSummary::WasmFrameSummary::SourcePosition() const { in WASM_SUMMARY_DISPATCH()
1440 FRAME_SUMMARY_DISPATCH(int, SourcePosition) in FRAME_SUMMARY_DISPATCH()
1652 return code->SourcePosition(code_offset); in position()
1819 return FrameSummary::GetSingle(this).SourcePosition(); in position()
1909 return FrameSummary::GetBottom(this).AsWasmInterpreted().SourcePosition(); in position()
[all …]
/external/v8/src/torque/
Dast.h92 AstNode(Kind kind, SourcePosition pos) : kind(kind), pos(pos) {} in AstNode()
96 SourcePosition pos;
130 Expression(Kind kind, SourcePosition pos) : AstNode(kind, pos) {} in Expression()
135 LocationExpression(Kind kind, SourcePosition pos) : Expression(kind, pos) {} in LocationExpression()
140 TypeExpression(Kind kind, SourcePosition pos) : AstNode(kind, pos) {} in TypeExpression()
145 Declaration(Kind kind, SourcePosition pos) : AstNode(kind, pos) {} in Declaration()
150 Statement(Kind kind, SourcePosition pos) : AstNode(kind, pos) {} in Statement()
157 ModuleDeclaration(AstNode::Kind kind, SourcePosition pos, in ModuleDeclaration()
172 DefaultModuleDeclaration(SourcePosition pos, in DefaultModuleDeclaration()
180 ExplicitModuleDeclaration(SourcePosition pos, std::string name, in ExplicitModuleDeclaration()
[all …]
Dsource-positions.h21 struct SourcePosition { struct
28 DECLARE_CONTEXTUAL_VARIABLE(CurrentSourcePosition, SourcePosition) in DECLARE_CONTEXTUAL_VARIABLE() argument
46 inline std::string PositionAsString(SourcePosition pos) { in PositionAsString()
Dearley-parser.cc21 SourcePosition* pos) { in UpdateSourcePosition()
111 SourcePosition{CurrentSourceFile::Get(), 0, 0}); in RunLexer()
179 SourcePosition{CurrentSourceFile::Get(), 0, 0}); in RunEarleyAlgorithm()
Dfile-visitor.h74 SourcePosition request_position;
/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 PrintJson()
Dgraph-visualizer.h21 class SourcePosition; variable
38 explicit SourcePositionAsJSON(const SourcePosition& sp) : sp(sp) {} in SourcePositionAsJSON()
39 const SourcePosition& sp;
43 AsJSON(const SourcePosition& sp) { in AsJSON()
Dcode-generator.h113 SourcePosition start_source_position() const { in start_source_position()
118 void AssembleSourcePosition(SourcePosition source_position);
191 SourcePosition pos);
399 SourcePosition start_source_position_;
400 SourcePosition current_source_position_;
Dcode-generator-impl.h183 explicit DeoptimizationExit(int deoptimization_id, SourcePosition pos) in DeoptimizationExit()
188 SourcePosition pos() const { return pos_; } in pos()
193 SourcePosition const pos_;
Dbytecode-graph-builder.h36 int inlining_id = SourcePosition::kNotInlined,
432 SourcePosition const start_position_;
/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/tools/turbolizer/src/
Dsource-resolver.ts33 export interface SourcePosition { interface
55 type AnyPosition = SourcePosition | BytecodePosition;
58 sourcePositions: Array<SourcePosition>;
66 inliningPosition: SourcePosition;
160 for (const [nodeId, sourcePosition] of Object.entries<SourcePosition>(map)) {
/external/v8/src/profiler/
Dprofiler-listener.cc95 if (it.source_position().InliningId() != SourcePosition::kNotInlined) in CodeCreateEvent()
256 SourcePosition last_position = SourcePosition::Unknown(); in AttachDeoptInlinedFrames()
271 last_position = SourcePosition(script_offset, inlining_id); in AttachDeoptInlinedFrames()
/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/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/v8/src/debug/
Ddebug-frames.cc24 source_position_ = summary.SourcePosition(); in FrameInspector()

123