MIPS: Refactor BinaryOpIC to be able to use different stubs.
authorpalfia@homejinni.com <palfia@homejinni.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 2 Dec 2013 21:17:16 +0000 (21:17 +0000)
committerpalfia@homejinni.com <palfia@homejinni.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 2 Dec 2013 21:17:16 +0000 (21:17 +0000)
commit801b2b05c39048c8d770a387b9d272d7e7e132e1
tree1aa1a7379ec78db37c6e8c80e9c12b37c5f087ba
parent68e0ca2e08bdf231dc8e28a97dca09b010e98f5a
MIPS: Refactor BinaryOpIC to be able to use different stubs.

Port r18191 (c20c6dc1)

Original commit message:
Previously BinaryOpIC and BinaryOpStub were pretty much interdependent.
However, in order to use allocation sites for string adds on-demand,
we need to be able to use different stubs (with a different number of
register parameters, via trampolines) depending on the BinaryOpIC state.

BUG=
R=plind44@gmail.com

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18213 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/mips/code-stubs-mips.cc
src/mips/full-codegen-mips.cc
src/mips/lithium-codegen-mips.cc