220b040c4a
The optimizer now also deals with is-checks for num, double, _Smi in the same way as it did for int before. This CL eliminates many is-tests of constants that appear after inlining. Also, make a better distinction between deoptimizing and non-deoptimizing cases when replacing is-tests. e.g. InstanceOfInstr can't cause eager deoptimization. Also, improve tracing output when running e.g. --trace-inlining Minor fix in raw_object.h. BUG= R=vegorov@google.com Review URL: https://codereview.chromium.org/2074533002 .