Commit c086f221 authored by Michael Beck's avatar Michael Beck
Browse files

renamed type opcode to ir_opcode

parent 23de9af8
......@@ -1130,7 +1130,7 @@ void arm_move_consts(ir_node *node, void *env) {
if (is_Phi(node)) {
for (i = get_irn_arity(node) - 1; i >= 0; --i) {
ir_node *pred = get_irn_n(node,i);
opcode pred_code = get_irn_opcode(pred);
ir_opcode pred_code = get_irn_opcode(pred);
if (pred_code == iro_Const) {
ir_node *const_graph;
const_graph = create_const_graph(pred, get_nodes_block(get_irn_n(get_nodes_block(node),i)));
......@@ -1152,7 +1152,7 @@ void arm_move_consts(ir_node *node, void *env) {
}
for (i = 0; i < get_irn_arity(node); i++) {
ir_node *pred = get_irn_n(node,i);
opcode pred_code = get_irn_opcode(pred);
ir_opcode pred_code = get_irn_opcode(pred);
if (pred_code == iro_Const) {
ir_node *const_graph;
const_graph = create_const_graph(pred, get_nodes_block(node));
......@@ -1179,8 +1179,8 @@ void arm_move_symconsts(ir_node *node, void *env) {
return;
for (i = 0; i < get_irn_arity(node); i++) {
ir_node *pred = get_irn_n(node,i);
opcode pred_code = get_irn_opcode(pred);
ir_node *pred = get_irn_n(node,i);
ir_opcode pred_code = get_irn_opcode(pred);
if (pred_code == iro_SymConst) {
const char *str = get_sc_name(pred);
......
......@@ -924,7 +924,7 @@ static int cmp_call_dependecy(const void *c1, const void *c2)
*/
static void link_calls_in_block_walker(ir_node *irn, void *data)
{
opcode code = get_irn_opcode(irn);
ir_opcode code = get_irn_opcode(irn);
if (code == iro_Call ||
(code == iro_Alloc && get_Alloc_where(irn) == stack_alloc) ||
......
......@@ -173,7 +173,7 @@ void be_do_stat_permcycle(const char *class_name, ir_node *perm, ir_node *block,
static void do_nodes_stat(ir_node *irn, void *env) {
be_stat_phase_t *phase = env;
ir_mode *mode;
opcode opc;
ir_opcode opc;
arch_irn_class_t irn_class;
if (is_Block(irn))
......
......@@ -434,7 +434,7 @@ static ir_node *new_Imm(ir_graph *irg, ir_node *bl, ir_node *cnst) {
static void prepare_walker(ir_node *irn, void *data)
{
opcode opc = get_irn_opcode(irn);
ir_opcode opc = get_irn_opcode(irn);
/* A replacement for this node has already been computed. */
if(get_irn_link(irn))
......@@ -491,8 +491,8 @@ static void localize_const_walker(ir_node *irn, void *data)
ir_node *bl = get_nodes_block(irn);
for(i = 0, n = get_irn_arity(irn); i < n; ++i) {
ir_node *op = get_irn_n(irn, i);
opcode opc = get_irn_opcode(op);
ir_node *op = get_irn_n(irn, i);
ir_opcode opc = get_irn_opcode(op);
if(opc == iro_Const
|| opc == iro_Unknown
......
......@@ -975,8 +975,8 @@ static ir_node *gen_node_for_AddSP(mips_transform_env_t *env)
*/
void mips_transform_node(ir_node *node, void *env) {
mips_code_gen_t *cgenv = (mips_code_gen_t *)env;
opcode code = get_irn_opcode(node);
ir_node *asm_node = node;
ir_opcode code = get_irn_opcode(node);
ir_node *asm_node = node;
mips_transform_env_t tenv;
if (is_Block(node))
......
......@@ -347,7 +347,7 @@ static ir_node *gen_SymConst(ppc32_transform_env_t *env) {
*/
void ppc32_conv_walk(ir_node *node, void *env) {
ppc32_code_gen_t *cgenv = (ppc32_code_gen_t *)env;
opcode code = get_irn_opcode(node);
ir_opcode code = get_irn_opcode(node);
ppc32_transform_env_t tenv;
if (is_Block(node))
......@@ -448,7 +448,7 @@ void ppc32_conv_walk(ir_node *node, void *env) {
*/
void ppc32_pretransform_walk(ir_node *node, void *env) {
ppc32_code_gen_t *cgenv = (ppc32_code_gen_t *)env;
opcode code = get_irn_opcode(node);
ir_opcode code = get_irn_opcode(node);
ppc32_transform_env_t tenv;
if (is_Block(node))
......
Markdown is supported
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