Closed etosch closed 12 years ago
In the spec, the instruction is listed as holding the return value in a "value" register. In the code the return value is being accessed via a "src" register.
Is this done now?
it works for the CheckCast test, which was returning strings. Since types don't matter, I think it's fine.
How is the java ternary op implemented? Is that worth testing?
Should compile down to cmp
and goto
s or if
s. Just syntactical sugar at the bytecode level. It will be calculated separately, and that register handed to the return
.
I'll call it done.
the CheckCast test case has methods that return strings to be printed. These strings are being lost somewhere after the return call. Figure out where.