LIRGenerator.emitMove()

Andrew Haley aph at redhat.com
Thu Oct 27 15:29:13 UTC 2016


    @Override
    public Variable emitMove(Value input) {
        assert !(input instanceof Variable) : "Creating a copy of a variable via this method is not supported (and potentially a bug): " + input;
        Variable result = newVariable(input.getValueKind());
        emitMove(result, input);
        return result;
    }

So how am I supposed to copy a variable?

Thanks,

Andrew.


More information about the graal-dev mailing list