MIPS: Tighten the code for MacroAssembler::ThrowUncatchable.
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 9 Nov 2011 11:04:41 +0000 (11:04 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 9 Nov 2011 11:04:41 +0000 (11:04 +0000)
commit6cb5ae7ad9440677f1936092c96040f1a6fdbf82
tree79704e0765867743da90b27905f343cd322e4518
parent5e0ff8b2e091a384dfbc5ce091e88df7308db89a
MIPS: Tighten the code for MacroAssembler::ThrowUncatchable.

Port r9909 (56c8728aa).

Original commit message:
Test at the bottom in the unwind loop.  Eliminate the possibility of a
useless move to the eax/rax/r0 register (currently impossible because
this function has two call sites).  Do not explicitly zero the context
because we've already saved 0 as the context in the handler.

BUG=
TEST=

Review URL: http://codereview.chromium.org/8507007
Patch from Gergely Kis <gergely@homejinni.com>.

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