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

import org.shedlang.compiler.patio.operands.PatioLocalRef;
import org.shedlang.compiler.sources.Source;

/// Load the value from the given var and store it in the destination local.
public record PatioVarLoad(
    PatioLocalRef destination,
    PatioLocalRef var,
    Source source
) implements PatioInstruction {
    @Override
    public boolean isBlockTerminator() {
        return false;
    }
}