MIPS: port Simplify handling of exits from with and catch.
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 16 Aug 2011 08:48:45 +0000 (08:48 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 16 Aug 2011 08:48:45 +0000 (08:48 +0000)
commit06b8e73b99ad1390e9d47c6cb7261836a21fc5b5
treede2bb3329e8df02b369cd3218ef720d29c0a654a
parent24e6d48d9b8872009901b45249ee1689c5856d78
MIPS: port Simplify handling of exits from with and catch.

Ported r8922 (5ea2fb5)

Original commit message:
Remove the try/finally used for with and catch. Instead of using
try/finally to handle break and continue from with or catch,
statically track nesting dept and clean up when compiling break or
continue.
And instead of using try/finally to handle throw to handler in a frame
whose pc is inside a with or catch, store the context that the handler
should run in in the handler itself.

BUG=
TEST=

Review URL: http://codereview.chromium.org/7648026
Patch from Paul Lind <plind44@gmail.com>.

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