MIPS: [turbofan] Make VisitBranch and friends to backend specific.
authorpaul.lind@imgtec.com <paul.lind@imgtec.com>
Mon, 13 Oct 2014 23:31:59 +0000 (23:31 +0000)
committerpaul.lind@imgtec.com <paul.lind@imgtec.com>
Mon, 13 Oct 2014 23:31:59 +0000 (23:31 +0000)
commitd9cda16c6a85f3c71dcd3049a031045375d32c79
treebece2dd27c6d7475fddbd9d18229345b852bb3bc
parent55f77c28ac63e66e851bd403706a3566a38f2695
MIPS: [turbofan] Make VisitBranch and friends to backend specific.

Port r24546 (c3443cd)

Original commit message:
This is required to fix a tricky branch fusion bug on ARM, which was
caused by the interaction between the architecture-independent and
architecture-specific parts of the InstructionSelector. In the end it
wasn't worth sharing a few common lines of code for the additional
complexity, especially if we also want to properly support architectures
without any dedicated flags register (i.e. MIPS).

TEST=mjsunit,unittests
BUG=
R=paul.lind@imgtec.com

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

Patch from Balazs Kilvady <balazs.kilvady@imgtec.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24571 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/compiler/mips/instruction-selector-mips.cc