File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed
csharp/ql/test/experimental/ir/ir Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -171,6 +171,10 @@ assignop.cs:
171
171
# 19| 0: [AssignOrExpr] ... |= ...
172
172
# 19| 0: [LocalVariableAccess] access to local variable c
173
173
# 19| 1: [IntLiteral] 2
174
+ # 20| 12: [ExprStmt] ...;
175
+ # 20| 0: [AssignUnsighedRightShiftExpr] ... >>>= ...
176
+ # 20| 0: [LocalVariableAccess] access to local variable c
177
+ # 20| 1: [IntLiteral] 2
174
178
casts.cs:
175
179
# 1| [Class] Casts_A
176
180
# 5| [Class] Casts_B
Original file line number Diff line number Diff line change @@ -17,5 +17,6 @@ static void Main()
17
17
c &= 2 ;
18
18
c ^= 2 ;
19
19
c |= 2 ;
20
+ c >>>= 2 ;
20
21
}
21
22
}
Original file line number Diff line number Diff line change @@ -210,6 +210,11 @@ assignop.cs:
210
210
# 19| r19_3(Int32) = Load[c] : &:r19_2, ~m?
211
211
# 19| r19_4(Int32) = BitOr : r19_3, r19_1
212
212
# 19| mu19_5(Int32) = Store[c] : &:r19_2, r19_4
213
+ # 20| r20_1(Int32) = Constant[2] :
214
+ # 20| r20_2(glval<Int32>) = VariableAddress[c] :
215
+ # 20| r20_3(Int32) = Load[c] : &:r20_2, ~m?
216
+ # 20| r20_4(Int32) = UnsignedShiftRight : r20_3, r20_1
217
+ # 20| mu20_5(Int32) = Store[c] : &:r20_2, r20_4
213
218
# 5| v5_3(Void) = ReturnVoid :
214
219
# 5| v5_4(Void) = AliasedUse : ~m?
215
220
# 5| v5_5(Void) = ExitFunction :
You can’t perform that action at this time.
0 commit comments