mirror of
https://github.com/ParkerTenBroeck/coroutines.git
synced 2026-06-07 05:08:51 -04:00
made progress
This commit is contained in:
parent
90bfb8a631
commit
f52827f97b
6 changed files with 175 additions and 38 deletions
|
|
@ -2,6 +2,7 @@ package generator.runtime;
|
|||
|
||||
import java.lang.classfile.CodeBuilder;
|
||||
import java.lang.classfile.TypeKind;
|
||||
import java.lang.constant.ConstantDescs;
|
||||
import java.util.Arrays;
|
||||
|
||||
public record Frame(FrameTracker.Type[] locals, FrameTracker.Type[] stack) {
|
||||
|
|
@ -16,6 +17,7 @@ public record Frame(FrameTracker.Type[] locals, FrameTracker.Type[] stack) {
|
|||
for (var entry : locals) {
|
||||
slot++;
|
||||
if (slot <= loc_off) continue;
|
||||
|
||||
if (entry.isCategory2_2nd()) continue;
|
||||
|
||||
sst.save_local(smb, cob, entry.toCD(), slot - smb.paramSlotOff + loc_off - 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue