File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
csharp/ql/src/semmle/code/csharp/ir/implementation/raw/internal Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ predicate needsLoad(Expr expr) {
194
194
* Holds if we should ignore the `Load` instruction for `expr` when generating IR.
195
195
*/
196
196
private predicate ignoreLoad ( Expr expr ) {
197
- // No load needed for the qualifier of an array access,
197
+ // No load needed for the qualifier of an array access,
198
198
// since we use the instruction `ElementsAddress`
199
199
// to get the address of the first element in an array
200
200
expr = any ( ArrayAccess aa ) .getQualifier ( )
Original file line number Diff line number Diff line change @@ -1447,7 +1447,7 @@ class TranslatedAssignOperation extends TranslatedAssignment {
1447
1447
else result instanceof Opcode:: Add
1448
1448
)
1449
1449
or
1450
- expr instanceof AssignSubExpr and
1450
+ expr instanceof AssignSubExpr and
1451
1451
(
1452
1452
if expr .getRValue ( ) .getType ( ) instanceof PointerType
1453
1453
then result instanceof Opcode:: PointerSub
@@ -1505,7 +1505,7 @@ class TranslatedAssignOperation extends TranslatedAssignment {
1505
1505
exists ( Opcode opcode |
1506
1506
opcode = this .getOpcode ( ) and
1507
1507
(
1508
- opcode instanceof Opcode:: PointerAdd or
1508
+ opcode instanceof Opcode:: PointerAdd or
1509
1509
opcode instanceof Opcode:: PointerSub
1510
1510
)
1511
1511
) and
You can’t perform that action at this time.
0 commit comments