aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/shedlang/compiler/shid/instructions/ShidIntEquals.java
blob: 7c24a8d0d4bcb7ad4071cfadad530eaefed44b8d (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, compare them as Ints, and push
 * a Bool onto the temporary value stack: true if equal, false if not equal.
 */
public record ShidIntEquals(Source source) implements ShidInstruction {
    @Override
    public boolean isBlockTerminator() {
        return false;
    }
}