2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (i386_error): Replace oprand_size_mismatch
with operand_size_mismatch.
(operand_size_match): Updated.
(match_template): Likewise.
2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
+ * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
+ with operand_size_mismatch.
+ (operand_size_match): Updated.
+ (match_template): Likewise.
+
+2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
+
* config/tc-i386.c (i386_error): New.
(_i386_insn): Replace err_msg with error.
(operand_size_match): Set error instead of err_msg on failure.
enum i386_error
{
- oprand_size_mismatch,
+ operand_size_mismatch,
operand_type_mismatch,
register_type_mismatch,
number_of_operands_mismatch,
else if (!t->opcode_modifier.d && !t->opcode_modifier.floatd)
{
mismatch:
- i.error = oprand_size_mismatch;
+ i.error = operand_size_mismatch;
return 0;
}
{
default:
abort ();
- case oprand_size_mismatch:
+ case operand_size_mismatch:
err_msg = _("operand size mismatch");
break;
case operand_type_mismatch: