Force pretenuring of closures that are immediately assigned to
authorager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 22 Nov 2010 09:57:21 +0000 (09:57 +0000)
committerager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 22 Nov 2010 09:57:21 +0000 (09:57 +0000)
commit1e8413e1883bd33782eb5916561bbcb7e5c31442
treebcbf2cf65b3249b2accfba19142fb55fe6c6fcd9
parent75ae84f9cafe2738bd9f344ad38ffdd8cfe53039
Force pretenuring of closures that are immediately assigned to
properties. For these closures we would like to be able to use
constant functions and for that we need the closures allocated in old
space.
Review URL: http://codereview.chromium.org/5220007

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5866 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
18 files changed:
src/arm/code-stubs-arm.cc
src/arm/codegen-arm.cc
src/arm/codegen-arm.h
src/arm/full-codegen-arm.cc
src/ast.h
src/full-codegen.cc
src/full-codegen.h
src/ia32/code-stubs-ia32.cc
src/ia32/codegen-ia32.cc
src/ia32/codegen-ia32.h
src/ia32/full-codegen-ia32.cc
src/parser.cc
src/runtime.cc
src/runtime.h
src/x64/code-stubs-x64.cc
src/x64/codegen-x64.cc
src/x64/codegen-x64.h
src/x64/full-codegen-x64.cc