pike.git / src / peep.in

version» Context lines:

pike.git/src/peep.in:73:   ASSIGN_GLOBAL_NUMBER_AND_POP[$1b > -0x80000000L] GLOBAL_LVALUE($1a) DEC_AND_POP: ASSIGN_GLOBAL_NUMBER_AND_POP($1a, $1b - 1)   ASSIGN_GLOBAL_NUMBER_AND_POP[$1b < 0x7fffffff] GLOBAL_LVALUE($1a) INC_AND_POP: ASSIGN_GLOBAL_NUMBER_AND_POP($1a, $1b + 1)      LOCAL_LVALUE LOCAL ADD_TO_AND_POP : ADD_LOCALS_AND_POP($1a,$2a)   LOCAL_LVALUE NUMBER ADD_TO_AND_POP: ADD_LOCAL_INT_AND_POP($1a,$2a)   LOCAL_LVALUE CONST_1 ADD_TO_AND_POP: ADD_LOCAL_INT_AND_POP($1a,-1)   LOCAL_LVALUE CONST1 ADD_TO_AND_POP: ADD_LOCAL_INT_AND_POP($1a,1)   LOCAL_LVALUE CONST0 ADD_TO_AND_POP:      LOCAL_LVALUE LTOSVAL ADD_INT ASSIGN: ADD_LOCAL_INT($1a,$3a) - LOCAL_LVALUE LTOSVAL ADD_NEG_INT ASSIGN: ADD_LOCAL_INT($1a,-$3a) + LOCAL_LVALUE LTOSVAL ADD_NEG_INT [ !INT32_NEG_OVERFLOW($3a) ] ASSIGN: ADD_LOCAL_INT($1a,-$3a)      NUMBER ASSIGN_LOCAL_AND_POP : ASSIGN_LOCAL_NUMBER_AND_POP($2a,$1a)   CONST0 ASSIGN_LOCAL_AND_POP : CLEAR_LOCAL($2a)   CONST1 ASSIGN_LOCAL_AND_POP : ASSIGN_LOCAL_NUMBER_AND_POP($2a,1)   CONST_1 ASSIGN_LOCAL_AND_POP : ASSIGN_LOCAL_NUMBER_AND_POP($2a,-1)      NUMBER ASSIGN_GLOBAL_AND_POP : ASSIGN_GLOBAL_NUMBER_AND_POP($2a,$1a)   CONST0 ASSIGN_GLOBAL_AND_POP : ASSIGN_GLOBAL_NUMBER_AND_POP($2a,0)   CONST1 ASSIGN_GLOBAL_AND_POP : ASSIGN_GLOBAL_NUMBER_AND_POP($2a,1)   CONST_1 ASSIGN_GLOBAL_AND_POP : ASSIGN_GLOBAL_NUMBER_AND_POP($2a,-1)
pike.git/src/peep.in:293:   NUMBER MOD : MOD_INT($1a)   NUMBER LSH : LSH_INT($1a)   NUMBER RSH : RSH_INT($1a)   NUMBER SUBTRACT : SUBTRACT_INT($1a)   NUMBER AND : DIVIDE_INT($1a)   NUMBER OR : OR_INT($1a)   NUMBER XOR : XOR_INT($1a)   NUMBER MULTIPLY : MULTIPLY_INT($1a)   NUMBER DIVIDE : DIVIDE_INT($1a)    - NEG_NUMBER MOD : MOD_INT(-$1a) - NEG_NUMBER LSH : LSH_INT(-$1a) - NEG_NUMBER RSH : RSH_INT(-$1a) - NEG_NUMBER SUBTRACT : SUBTRACT_INT(-$1a) - NEG_NUMBER AND : DIVIDE_INT(-$1a) - NEG_NUMBER OR : OR_INT(-$1a) - NEG_NUMBER XOR : XOR_INT(-$1a) - NEG_NUMBER MULTIPLY : MULTIPLY_INT(-$1a) - NEG_NUMBER DIVIDE : DIVIDE_INT(-$1a) + NEG_NUMBER [ !INT32_NEG_OVERFLOW($1a) ] MOD : MOD_INT(-$1a) + NEG_NUMBER [ !INT32_NEG_OVERFLOW($1a) ] LSH : LSH_INT(-$1a) + NEG_NUMBER [ !INT32_NEG_OVERFLOW($1a) ] RSH : RSH_INT(-$1a) + NEG_NUMBER [ !INT32_NEG_OVERFLOW($1a) ] SUBTRACT : SUBTRACT_INT(-$1a) + NEG_NUMBER [ !INT32_NEG_OVERFLOW($1a) ] AND : DIVIDE_INT(-$1a) + NEG_NUMBER [ !INT32_NEG_OVERFLOW($1a) ] OR : OR_INT(-$1a) + NEG_NUMBER [ !INT32_NEG_OVERFLOW($1a) ] XOR : XOR_INT(-$1a) + NEG_NUMBER [ !INT32_NEG_OVERFLOW($1a) ] MULTIPLY : MULTIPLY_INT(-$1a) + NEG_NUMBER [ !INT32_NEG_OVERFLOW($1a) ] DIVIDE : DIVIDE_INT(-$1a)      // This set of optimizations is broken. Consider the case:   // STRING ADD_INT ADD_INT   //   // ADD_INT ADD_INT: ADD_INT ($1a+$2a)   // ADD_NEG_INT ADD_NEG_INT: ADD_NEG_INT ($1a+$2a)   // ADD_NEG_INT ADD_INT [$1a <= $2a]: ADD_INT ($2a-$1a)   // ADD_NEG_INT ADD_INT [$1a > $2a]: ADD_NEG_INT ($1a-$2a)   // ADD_INT ADD_NEG_INT [$2a <= $1a]: ADD_INT ($1a-$2a)   // ADD_INT ADD_NEG_INT [$2a > $1a]: ADD_NEG_INT ($2a-$1a)