One Zone per CompilationInfo.
authorsanjoy@chromium.org <sanjoy@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 20 Jun 2012 08:58:41 +0000 (08:58 +0000)
committersanjoy@chromium.org <sanjoy@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 20 Jun 2012 08:58:41 +0000 (08:58 +0000)
commit9e4fbb45c1edaed1b61d4bbe1a579ea3511eb7a7
treeffed0622f2578503060c8d1493d1491a1528f48d
parent000519013ff4f1dd33e3a123898950d875d165da
One Zone per CompilationInfo.

The CompilationInfo record now saves a Zone, and the compiler pipeline
allocates memory from the Zone in the CompilationInfo.  Before
compiling a function, we create a Zone on the stack and save a pointer
to that Zone to the CompilationInfo; which then gets picked up and
allocated from.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10534139

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11877 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
42 files changed:
src/arm/full-codegen-arm.cc
src/arm/lithium-codegen-arm.h
src/ast.h
src/compiler.cc
src/compiler.h
src/debug.cc
src/deoptimizer.cc
src/full-codegen.cc
src/full-codegen.h
src/hydrogen.cc
src/hydrogen.h
src/ia32/full-codegen-ia32.cc
src/ia32/lithium-codegen-ia32.h
src/isolate.cc
src/isolate.h
src/json-parser.h
src/jsregexp.cc
src/jsregexp.h
src/lithium.h
src/liveedit.cc
src/mips/full-codegen-mips.cc
src/mips/lithium-codegen-mips.h
src/objects.cc
src/parser.cc
src/parser.h
src/rewriter.cc
src/runtime.cc
src/scopes.cc
src/stub-cache.cc
src/stub-cache.h
src/type-info.cc
src/x64/full-codegen-x64.cc
src/x64/lithium-codegen-x64.h
src/zone-inl.h
src/zone.cc
src/zone.h
test/cctest/test-ast.cc
test/cctest/test-dataflow.cc
test/cctest/test-liveedit.cc
test/cctest/test-parsing.cc
test/cctest/test-regexp.cc
test/cctest/test-strings.cc