Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1e4b3fa

Browse files
author
AndreiDiaconu1
committed
Updated expected for crement ops
1 parent 940ba69 commit 1e4b3fa

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

csharp/ql/test/library-tests/ir/ir/raw_ir.expected

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,48 @@ array.cs:
135135
# 9| v0_85(Void) = UnmodeledUse : mu*
136136
# 9| v0_86(Void) = ExitFunction :
137137

138+
crement.cs:
139+
# 2| CrementOpsTest.Main()
140+
# 2| Block 0
141+
# 2| v0_0(Void) = EnterFunction :
142+
# 2| mu0_1(Object) = AliasedDefinition :
143+
# 2| mu0_2(Object) = UnmodeledDefinition :
144+
# 2| r0_3(lval<CrementOpsTest>) = InitializeThis :
145+
# 3| r0_4(lval<Int32>) = VariableAddress[x] :
146+
# 3| r0_5(Int32) = Constant[10] :
147+
# 3| mu0_6(Int32) = Store : &:r0_4, r0_5
148+
# 4| r0_7(lval<Int32>) = VariableAddress[a] :
149+
# 4| r0_8(lval<Int32>) = VariableAddress[x] :
150+
# 4| r0_9(Int32) = Load : &:r0_8, ~mu0_2
151+
# 4| r0_10(Int32) = Constant[1] :
152+
# 4| r0_11(Int32) = Add : r0_9, r0_10
153+
# 4| mu0_12(Int32) = Store : &:r0_8, r0_11
154+
# 4| mu0_13(Int32) = Store : &:r0_7, r0_9
155+
# 5| r0_14(lval<Int32>) = VariableAddress[b] :
156+
# 5| r0_15(lval<Int32>) = VariableAddress[x] :
157+
# 5| r0_16(Int32) = Load : &:r0_15, ~mu0_2
158+
# 5| r0_17(Int32) = Constant[1] :
159+
# 5| r0_18(Int32) = Sub : r0_16, r0_17
160+
# 5| mu0_19(Int32) = Store : &:r0_15, r0_18
161+
# 5| mu0_20(Int32) = Store : &:r0_14, r0_18
162+
# 6| r0_21(lval<Int32>) = VariableAddress[c] :
163+
# 6| r0_22(lval<Int32>) = VariableAddress[x] :
164+
# 6| r0_23(Int32) = Load : &:r0_22, ~mu0_2
165+
# 6| r0_24(Int32) = Constant[1] :
166+
# 6| r0_25(Int32) = Add : r0_23, r0_24
167+
# 6| mu0_26(Int32) = Store : &:r0_22, r0_25
168+
# 6| mu0_27(Int32) = Store : &:r0_21, r0_25
169+
# 7| r0_28(lval<Int32>) = VariableAddress[x] :
170+
# 7| r0_29(Int32) = Load : &:r0_28, ~mu0_2
171+
# 7| r0_30(Int32) = Constant[1] :
172+
# 7| r0_31(Int32) = Sub : r0_29, r0_30
173+
# 7| mu0_32(Int32) = Store : &:r0_28, r0_31
174+
# 7| r0_33(lval<Int32>) = VariableAddress[x] :
175+
# 7| mu0_34(Int32) = Store : &:r0_33, r0_29
176+
# 2| v0_35(Void) = ReturnVoid :
177+
# 2| v0_36(Void) = UnmodeledUse : mu*
178+
# 2| v0_37(Void) = ExitFunction :
179+
138180
func_with_param_call.cs:
139181
# 4| f
140182
# 4| Block 0

0 commit comments

Comments
 (0)