aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/shedlang/compiler/shid/instructions/ShidIntLessThan.java
blob: b2077f2b05f33bc919b59da5889887ee1645a9fd (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;

/// 1. Pop the right operand from the temporary value stack.
/// 2. Pop the left operand from the temporary value stack.
/// 3. Calculate whether the left operand is less than the right operand.
/// 4. Push the result onto the temporary value stack.
public record ShidIntLessThan(Source source) implements ShidInstruction {
    @Override
    public boolean isBlockTerminator() {
        return false;
    }
}