Change the representation of catch contexts.
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 14 Jun 2011 12:16:23 +0000 (12:16 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 14 Jun 2011 12:16:23 +0000 (12:16 +0000)
commit7d527f857ffb7e9a187a7f7db45a6b9bfee602d9
treec9dd3f1ab97be75aae57cab4194f96c0b4c22be8
parent38a75cf731faf897721d73220f613a635386f468
Change the representation of catch contexts.

Before, they had no extra slots and an extension object with one named
property.  Now, they use the extension slot for the property name and have
an extra slot for the thrown object.  This increases the size of the context
itself, but removes overall allocation and eliminates a level of indirection.

R=ager@chromium.org

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

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