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) {
194194 * Holds if we should ignore the `Load` instruction for `expr` when generating IR.
195195 */
196196private 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,
198198 // since we use the instruction `ElementsAddress`
199199 // to get the address of the first element in an array
200200 expr = any ( ArrayAccess aa ) .getQualifier ( )
Original file line number Diff line number Diff line change @@ -1447,7 +1447,7 @@ class TranslatedAssignOperation extends TranslatedAssignment {
14471447 else result instanceof Opcode:: Add
14481448 )
14491449 or
1450- expr instanceof AssignSubExpr and
1450+ expr instanceof AssignSubExpr and
14511451 (
14521452 if expr .getRValue ( ) .getType ( ) instanceof PointerType
14531453 then result instanceof Opcode:: PointerSub
@@ -1505,7 +1505,7 @@ class TranslatedAssignOperation extends TranslatedAssignment {
15051505 exists ( Opcode opcode |
15061506 opcode = this .getOpcode ( ) and
15071507 (
1508- opcode instanceof Opcode:: PointerAdd or
1508+ opcode instanceof Opcode:: PointerAdd or
15091509 opcode instanceof Opcode:: PointerSub
15101510 )
15111511 ) and
You can’t perform that action at this time.
0 commit comments