MIPS: Make TestJSArrayForAllocationMemento less awkward.
authorpalfia@homejinni.com <palfia@homejinni.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 15 Oct 2013 23:12:15 +0000 (23:12 +0000)
committerpalfia@homejinni.com <palfia@homejinni.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 15 Oct 2013 23:12:15 +0000 (23:12 +0000)
commitf5abb8e52aaa4c77013b788ea1b9eef62f2a1f99
tree79afdd787826fa66e88a4e2a1fbc87aa92b26f3f
parent2268defb84c6e60e3c35409109fce72f333acc7d
MIPS: Make TestJSArrayForAllocationMemento less awkward.

Port r17220 (be968d52)

Original commit message:
Generated code ended up having two conditional jump statements in a
row. Also introduce JumpIfJSArrayHasAllocationMemento which handles
most cases more simply.

BUG=
R=gergely@homejinni.com

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17225 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/mips/codegen-mips.cc
src/mips/lithium-codegen-mips.cc
src/mips/macro-assembler-mips.cc
src/mips/macro-assembler-mips.h