aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/shedlang/compiler/shid/instructions/ShidDuplicate.java
blob: 6fea55aca6828a5be76e7ce190e69469a5e362bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package org.shedlang.compiler.shid.instructions;

import org.shedlang.compiler.sources.Source;

/**
 * Duplicates the value on top of the temporary value stack.
 */
public record ShidDuplicate(Source source) implements ShidInstruction {
    @Override
    public boolean isBlockTerminator() {
        return false;
    }
}