All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.qbicc.machine.llvm.impl.NamedLocalValueOf Maven / Gradle / Ivy

package org.qbicc.machine.llvm.impl;

import java.io.IOException;

final class NamedLocalValueOf extends AbstractValue {
    private final String name;

    NamedLocalValueOf(AbstractInstruction instruction, final String name) {
        super(instruction);
        this.name = LLVM.needsQuotes(name) ? LLVM.quoteString(name) : name;;
    }

    public Appendable appendTo(final Appendable target) throws IOException {
        return target.append('%').append(name);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy