PPC: [stubs] Refactor StringCompareStub and use it for HStringCompareAndBranch.
authormbrandy <mbrandy@us.ibm.com>
Fri, 18 Sep 2015 18:40:32 +0000 (11:40 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 18 Sep 2015 18:40:42 +0000 (18:40 +0000)
commitd4d2ea7b8a28d900aa74b9fa83fd0b5e6bb17b6c
treeecb0cfb63ffbcbeb38235bdb29650ccd0e6b746d
parent8975286e9b67fd07876e6da4724eca9b43e70348
PPC: [stubs] Refactor StringCompareStub and use it for HStringCompareAndBranch.

Port 8016547c8e6fde00fff0a1791f3c83b444d8af25

Original commit message:
    The StringCompareStub used to take its parameters on the (JavaScript)
    stack, which made it impossible to use in TurboFan. Actually
    StringCompareStub was currently completely unused. This changes the
    calling convention to something TurboFan compatible and introduces a
    CallInterfaceDescriptor for StringCompareStub. It also changes
    HStringCompareAndBranch to use the StringCompareStub instead of using
    the full blown CompareICStub for a stupid string comparison.

R=bmeurer@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, dstence@us.ibm.com
BUG=

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

Cr-Commit-Position: refs/heads/master@{#30837}
src/ppc/code-stubs-ppc.cc
src/ppc/interface-descriptors-ppc.cc
src/ppc/lithium-codegen-ppc.cc