@@ -56,19 +56,11 @@ class Node0Impl extends TIRDataFlowNode0 {
56
56
/** Gets the operands corresponding to this node, if any. */
57
57
Operand asOperand ( ) { result = this .( OperandNode0 ) .getOperand ( ) }
58
58
59
- /** INTERNAL: Do not use. */
60
- Location getLocationImpl ( ) {
61
- none ( ) // overridden by subclasses
62
- }
63
-
64
59
/** INTERNAL: Do not use. */
65
60
string toStringImpl ( ) {
66
61
none ( ) // overridden by subclasses
67
62
}
68
63
69
- /** Gets the location of this node. */
70
- final Location getLocation ( ) { result = this .getLocationImpl ( ) }
71
-
72
64
/** Gets a textual representation of this node. */
73
65
final string toString ( ) { result = this .toStringImpl ( ) }
74
66
@@ -113,8 +105,6 @@ abstract class InstructionNode0 extends Node0Impl {
113
105
114
106
override DataFlowType getType ( ) { result = getInstructionType ( instr , _) }
115
107
116
- final override Location getLocationImpl ( ) { result = instr .getLocation ( ) }
117
-
118
108
override string toStringImpl ( ) {
119
109
// This predicate is overridden in subclasses. This default implementation
120
110
// does not use `Instruction.toString` because that's expensive to compute.
@@ -158,8 +148,6 @@ abstract class OperandNode0 extends Node0Impl {
158
148
159
149
override DataFlowType getType ( ) { result = getOperandType ( op , _) }
160
150
161
- final override Location getLocationImpl ( ) { result = op .getLocation ( ) }
162
-
163
151
override string toStringImpl ( ) { result = op .toString ( ) }
164
152
165
153
final override predicate isGLValue ( ) { exists ( getOperandType ( op , true ) ) }
0 commit comments