Link function contexts directly to the previous context.
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 9 Jun 2011 12:45:26 +0000 (12:45 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 9 Jun 2011 12:45:26 +0000 (12:45 +0000)
commit4b962185898e6a7b4867a3e0b3b3d905371c671a
treef538968611fd07296b5b58c8c2f8f0320587b59b
parentc40aa827bf4a5d927b28042970f2ee7df369a586
Link function contexts directly to the previous context.

Instead of NULL in the previous field of function contexts, put the previous
context.  This saves the indirection of fetching the previous through the
context's closure.

R=ager@chromium.org
BUG=
TEST=

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8238 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/code-stubs-arm.cc
src/arm/macro-assembler-arm.cc
src/contexts.cc
src/contexts.h
src/heap.cc
src/ia32/code-stubs-ia32.cc
src/ia32/macro-assembler-ia32.cc
src/runtime.cc
src/x64/code-stubs-x64.cc
src/x64/macro-assembler-x64.cc