Skip to content

Commit

Permalink
?
Browse files Browse the repository at this point in the history
  • Loading branch information
bristermitten committed Dec 7, 2023
1 parent ff9be6b commit 8e71345
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/JVM/Data/Analyse/StackMap.hs
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ analyseBlockDiff current block = foldl' (flip analyseInstruction) current (takeW
analyseInstruction (InvokeInterface _ _ md) ba = ba{stack = (StackEntry <$> maybeToList (returnDescriptorType md.returnDesc)) <> drop (length md.params) ba.stack}
analyseInstruction (InvokeDynamic _ _ md) ba = ba{stack = (StackEntry <$> maybeToList (returnDescriptorType md.returnDesc)) <> drop (1 + length md.params) ba.stack}
analyseInstruction (PutStatic{}) ba = ba{stack = tail ba.stack}
analyseInstruction (GetField _ _ ft) ba = ba{stack = StackEntry (ft t) : tail ba.stack}
analyseInstruction (GetStatic _ _ ft) ba = ba{stack = StackEntry (ft t) : ba.stack}
analyseInstruction (GetField _ _ ft) ba = ba{stack = StackEntry ft : tail ba.stack}
analyseInstruction (GetStatic _ _ ft) ba = ba{stack = StackEntry ft : ba.stack}
analyseInstruction (Goto _) ba = ba
analyseInstruction (LDC l) ba = ba{stack = StackEntry (ldcEntryToFieldType l) : ba.stack}

Expand Down

0 comments on commit 8e71345

Please sign in to comment.