compiler->target_flags);
if (insn->rule == NULL || insn->rule->emit == NULL) {
- ORC_COMPILER_ERROR(compiler, "No rule for: %s", insn->opcode->name);
+ ORC_COMPILER_ERROR(compiler, "No rule for: %s on target %s",
+ insn->opcode->name, compiler->target->name);
compiler->result = ORC_COMPILE_RESULT_UNKNOWN_COMPILE;
return;
}
ORC_ASM_CODE(compiler,"%*s", prefix, "");
rule->emit (compiler, rule->emit_user, insn);
} else {
- ORC_COMPILER_ERROR(compiler, "No rule for: %s\n", opcode->name);
+ ORC_COMPILER_ERROR(compiler, "No rule for: %s on target %s\n", opcode->name,
+ compiler->target->name);
compiler->error = TRUE;
}
}
ORC_ASM_CODE(compiler,"%*s", prefix, "");
rule->emit (compiler, rule->emit_user, insn);
} else {
- ORC_COMPILER_ERROR(compiler, "No rule for: %s\n", opcode->name);
+ ORC_COMPILER_ERROR(compiler, "No rule for: %s on target %s\n",
+ opcode->name, compiler->target->name);
compiler->error = TRUE;
}
}