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

import org.shedlang.compiler.sources.Source;

/**
 * Pop two values from the temporary value stack, assumed to be Ints, add them
 * together, and push the result onto the temporary value stack.
 */
public record ShidIntAdd(Source source) implements ShidInstruction {
    @Override
    public boolean isBlockTerminator() {
        return false;
    }
}