MIPS: Improve TruncateNumberToI implementation after DoubleToIStub usage (r16461).
authorpalfia@homejinni.com <palfia@homejinni.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 3 Sep 2013 11:39:19 +0000 (11:39 +0000)
committerpalfia@homejinni.com <palfia@homejinni.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 3 Sep 2013 11:39:19 +0000 (11:39 +0000)
commit0e29b3d23780b8db0984ea1c8b2589135cefb153
tree5a411962455236929ed9bcb3042bedac8a80f5d3
parentd9052d41f367f3994bf6089103aac54246ba1148
MIPS: Improve TruncateNumberToI implementation after DoubleToIStub usage (r16461).

Using TruncateHeapNumberToI here simplifies the code and we get rid of ConvertToInt32 and EmitOutOfInt32RangeTruncate macro assembler instructions.

BUG=

Review URL: https://codereview.chromium.org/23444033
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16505 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/mips/code-stubs-mips.cc
src/mips/macro-assembler-mips.cc
src/mips/macro-assembler-mips.h