Permalink
Browse files

libfpvm: rename op_not to op_bnot, to follow MilkDrop naming

  • Loading branch information...
1 parent 6f346c3 commit f2650b256ad0a654f465a5d2cc215c4999f1930a @wpwrak wpwrak committed Jan 17, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 software/include/fpvm/ast.h
  2. +1 −1 software/libfpvm/fpvm.c
View
2 software/include/fpvm/ast.h
@@ -47,7 +47,7 @@ enum ast_op {
op_min,
op_max,
op_int,
- op_not,
+ op_bnot,
};
/* maximum supported arity is 3 */
View
2 software/libfpvm/fpvm.c
@@ -522,7 +522,7 @@ static int compile(struct fpvm_fragment *fragment, int reg, struct ast_node *nod
return FPVM_INVALID_REG;
ADD_ISN(FPVM_OPCODE_TSIGN, opa, opb, reg);
break;
- case op_not:
+ case op_bnot:
opb = REG_CONST(0);
if(opb == FPVM_INVALID_REG)
return FPVM_INVALID_REG;

0 comments on commit f2650b2

Please sign in to comment.