asm-js / validator

A reference validator for asm.js.
Apache License 2.0
1.78k stars 154 forks source link

Add math min max #98

Closed soliton4 closed 9 years ago

soliton4 commented 9 years ago

pretty straight forward Math.min and Math.max have been added.

my previous commits are part of this. shall i revert to a earlier state? maybe the maintainer can just cherry pick my commit?

let me know

sunfishcode commented 9 years ago

I put min and max after imul as mentioned below, and added a FIXME comment, and checked in the result as 49065be1c39fa674d7b8ff557c9d3dee9ba2e02d. Thanks for reporting this!