Reviewers: Mads Ager, Description: Remove the fcontext field from all contexts.
Before: every context cached the nearest enclosing function context. This assumed that for nested contexts (i.e., with and catch contexts) the enclosing function had a materialized link in the context chain. Now: when necessary, we loop up the context chain to find such a context. This enables catch contexts without forcing the enclosing function to allocate its own context. [email protected] BUG= TEST= Please review this at http://codereview.chromium.org/7230047/ SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge Affected files: M src/arm/code-stubs-arm.cc M src/arm/full-codegen-arm.cc M src/arm/macro-assembler-arm.cc M src/bootstrapper.cc M src/contexts.h M src/contexts.cc M src/heap.cc M src/ia32/code-stubs-ia32.cc M src/ia32/full-codegen-ia32.cc M src/ia32/macro-assembler-ia32.cc M src/runtime.cc M src/x64/code-stubs-x64.cc M src/x64/full-codegen-x64.cc M src/x64/macro-assembler-x64.cc -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
