Commit 418e3622 authored by Michael Beck's avatar Michael Beck
Browse files

Set the new irop_flag_machine flag for all generated opcodes

parent e97cf794
......@@ -271,7 +271,7 @@ foreach my $op (keys(%nodes)) {
$n_opcodes++;
$temp = " op_$op = new_ir_op(cur_opcode++, \"$op\", op_pin_state_".$n{"state"}.", ".$n{"op_flags"};
$temp .= ", ".translate_arity($arity).", 0, sizeof($arch\_attr_t), &ops);\n";
$temp .= "|M, ".translate_arity($arity).", 0, sizeof($arch\_attr_t), &ops);\n";
push(@obst_new_irop, $temp);
}
......@@ -332,6 +332,7 @@ void $arch\_create_opcodes(void) {
#define H irop_flag_highlevel
#define c irop_flag_constlike
#define K irop_flag_keep
#define M irop_flag_machine
ir_op_ops ops;
int cur_opcode = get_next_ir_opcodes($n_opcodes);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment