Explicitly pass the closure when allocating a catch or with context.
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 29 Jun 2011 07:41:42 +0000 (07:41 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 29 Jun 2011 07:41:42 +0000 (07:41 +0000)
commit96bbcaf4162cc9ac9db0c3997e49802c3f896c55
tree36fe980c210b12b9ab4af47572884c9ea3563be7
parent5e7da7f04f3881a8a5b881a8446c38345b0fff19
Explicitly pass the closure when allocating a catch or with context.

Before: allocation of a catch or with context fetched the closure to store
in the context from the previous context in the context chain.  Now: the
closure is passed explicitly.

R=ager@chromium.org
BUG=
TEST=

Review URL: http://codereview.chromium.org/7275022

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8453 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/full-codegen-arm.cc
src/factory.cc
src/factory.h
src/full-codegen.cc
src/full-codegen.h
src/heap.cc
src/heap.h
src/ia32/full-codegen-ia32.cc
src/runtime.cc
src/runtime.h
src/x64/full-codegen-x64.cc