Pseudocode: don't write full label name when jump on it
This commit is contained in:
@@ -15,10 +15,10 @@ L0:
|
||||
1 <START> INIT: in: {} out: {} USE: in: {} out: {}
|
||||
2 mark({ class A { var a : Int get() { return $a } set(v: Int) { $a = v } } })
|
||||
v(var a : Int get() { return $a } set(v: Int) { $a = v }) INIT: in: {} out: {a=D}
|
||||
jmp?(L2 [after local declaration]) INIT: in: {a=D} out: {a=D}
|
||||
jmp?(L2) INIT: in: {a=D} out: {a=D}
|
||||
d(get() { return $a }) USE: in: {a=READ} out: {a=READ}
|
||||
L2 [after local declaration]:
|
||||
jmp?(L5 [after local declaration])
|
||||
jmp?(L5)
|
||||
d(set(v: Int) { $a = v }) USE: in: {a=ONLY_WRITTEN_NEVER_READ} out: {a=ONLY_WRITTEN_NEVER_READ}
|
||||
L1:
|
||||
L5 [after local declaration]:
|
||||
|
||||
Reference in New Issue
Block a user