X87: Add a MathFloor stub generated with TurboFan
authorchunyang.dai <chunyang.dai@intel.com>
Wed, 13 May 2015 11:14:35 +0000 (04:14 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 13 May 2015 11:14:26 +0000 (11:14 +0000)
commit6803006b2d0b77022ece49cd549fa57ca84a45f4
tree064544752b231ded86166dc6e10cc5f4484f9847
parent36b4a498d6614243454d5a182e4946b0dad24f0a
X87: Add a MathFloor stub generated with TurboFan

port  abc35080b33cc31e47b9913e64ac99ec687c6b65 (r28339)

original commit message:

    This stub will be used as the basis of a Math.floor-specific CallIC to
    detect and track calls to floor that return -0.

    Along the way:
    - Create a TurboFanCodeStub super class from which the StringLength and
    MathRound TF stubs derive.
    - Fix the ugly hack that passes the first stub parameter as the "this"
    pointer in the the TF-compiled JS function.
    - Fix bugs in the ia32/x64 disassembler.

BUG=

Review URL: https://codereview.chromium.org/1134323002

Cr-Commit-Position: refs/heads/master@{#28386}
src/x87/disasm-x87.cc
src/x87/interface-descriptors-x87.cc