Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

libfpvm: rename op_not to op_bnot, to follow MilkDrop naming

  • Loading branch information...
commit f2650b256ad0a654f465a5d2cc215c4999f1930a 1 parent 6f346c3
@wpwrak wpwrak authored
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.
Something went wrong with that request. Please try again.