PPC: Add a MathFloor stub generated with TurboFan
authormbrandy <mbrandy@us.ibm.com>
Mon, 11 May 2015 14:33:27 +0000 (07:33 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 11 May 2015 14:33:28 +0000 (14:33 +0000)
commit58c40db2558050c21648ff19d0e1f4b3b9297527
treea4667922573504dd91358e963a3dbf0ef031f63d
parentbd56d279b612f92d2d1d25f92d32fe7f42a455ca
PPC: Add a MathFloor stub generated with TurboFan

Port abc35080b33cc31e47b9913e64ac99ec687c6b65

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.

R=danno@chromium.org, dstence@us.ibm.com, michael_dawson@ca.ibm.com
BUG=

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

Cr-Commit-Position: refs/heads/master@{#28341}
src/ppc/interface-descriptors-ppc.cc