Pseudocode: Introduce pseudo-value analysis
This commit is contained in:
@@ -11,11 +11,11 @@ L0:
|
||||
1 <START> INIT: in: {} out: {}
|
||||
2 mark({ "before" while (true) { val a: Int } "after" })
|
||||
mark("before")
|
||||
r("before")
|
||||
r("before") -> <v0>
|
||||
mark(while (true) { val a: Int })
|
||||
L2 [loop entry point]:
|
||||
L5 [condition entry point]:
|
||||
r(true)
|
||||
r(true) -> <v1>
|
||||
L4 [body entry point]:
|
||||
3 mark({ val a: Int })
|
||||
v(val a: Int) INIT: in: {} out: {a=D}
|
||||
@@ -23,7 +23,7 @@ L4 [body entry point]:
|
||||
L3 [loop exit point]:
|
||||
- read (Unit)
|
||||
- mark("after")
|
||||
- r("after")
|
||||
- r("after") -> <v2>
|
||||
L1:
|
||||
1 <END> INIT: in: {} out: {}
|
||||
error:
|
||||
|
||||
Reference in New Issue
Block a user