updated the compiler to fix the jump instruction positions for break and continue upon instruction eliminations

This commit is contained in:
hyunghwan.chung
2017-02-09 10:22:44 +00:00
parent c6cf64a586
commit 2a40be7742
2 changed files with 139 additions and 88 deletions

View File

@ -316,6 +316,15 @@ class MyObject(Object)
].
(a associationAt: :(#aaa)) dump.
while (true)
{
while (true)
{
[:j :q | (j + q) dump] value: (if (true) { 20 }) value: (if (true) { break }).
(1 + (if (false) {} else { break })) dump.
}
}
}
}