A collection of context-related refactoring changes.
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 9 Jun 2011 11:26:01 +0000 (11:26 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 9 Jun 2011 11:26:01 +0000 (11:26 +0000)
commit371af773cf1982a375df89c80922540f4f57ebbe
treeca0eb4f989e891bf98a383113c4573d0ddce8d43
parent68eab4a8d8a11b5677220a35bda01e15a08af9f2
A collection of context-related refactoring changes.

Introduce separate maps for function and with contexts.  Use the function
context map for testing whether a context is a function context (global
contexts are no longer function contexts).

Split the paths for allocating with and catch contexts.

Rename some functions.  Generally refactor code to make it simpler.

R=ager@chromium.org
BUG=
TEST=

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8231 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
27 files changed:
src/arm/code-stubs-arm.cc
src/arm/full-codegen-arm.cc
src/arm/lithium-codegen-arm.cc
src/ast.cc
src/ast.h
src/contexts.cc
src/contexts.h
src/factory.cc
src/factory.h
src/full-codegen.cc
src/heap.cc
src/heap.h
src/hydrogen.cc
src/ia32/code-stubs-ia32.cc
src/ia32/full-codegen-ia32.cc
src/ia32/lithium-codegen-ia32.cc
src/mark-compact.cc
src/objects-inl.h
src/objects.h
src/parser.cc
src/prettyprinter.cc
src/rewriter.cc
src/runtime.cc
src/runtime.h
src/x64/code-stubs-x64.cc
src/x64/full-codegen-x64.cc
src/x64/lithium-codegen-x64.cc