Skip to content

Commit

Permalink
consted a var
Browse files Browse the repository at this point in the history
  • Loading branch information
petdance committed Apr 22, 2011
1 parent f99d63c commit 968fcad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ops/math.ops
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ inline op fdiv(out INT, in INT, in INT) :base_core {
} }


inline op fdiv(out NUM, in NUM, in NUM) :base_core { inline op fdiv(out NUM, in NUM, in NUM) :base_core {
FLOATVAL den = $3; const FLOATVAL den = $3;
if (FLOAT_IS_ZERO(den)) { if (FLOAT_IS_ZERO(den)) {
opcode_t * const handler = Parrot_ex_throw_from_op_args(interp, expr NEXT(), opcode_t * const handler = Parrot_ex_throw_from_op_args(interp, expr NEXT(),
EXCEPTION_DIV_BY_ZERO, EXCEPTION_DIV_BY_ZERO,
Expand Down

0 comments on commit 968fcad

Please sign in to comment.