Change RangeCheck to use the available SSA data
authorMike Danes <onemihaid@hotmail.com>
Thu, 26 Oct 2017 08:10:17 +0000 (11:10 +0300)
committerMike Danes <onemihaid@hotmail.com>
Thu, 9 Nov 2017 18:29:53 +0000 (20:29 +0200)
commitdc1b97c0b49965229ae3ae1b9f4bfd8bde579f2f
tree1381c61426e16ad90e3d25400f1dc27fabced830
parent7a0c6b64d693bf6aff9dfbcf5f6d22048fccc324
Change RangeCheck to use the available SSA data

The necessary information (the assignment node and the block where it appears) can be obtained from the SSA data, there is no need to build a map of SSA definitions. Doing that consumes almost half of the time taken by RangeCheck and a sizeable chunk of memory.
src/jit/rangecheck.cpp
src/jit/rangecheck.h