Exemple #1
0
void Bytecode::addBranch(Instruction insn, Label& target) {
    add((uint8_t)insn);
    if (target.isBound()) {
        addInt16(target.offsetOf(current()));
    } else {
        target.addRelocation(current());
        addInt16(0x1ead);
    }
}