Reviewers: danno, Michael Starzinger,

Message:
Deleted the previous CL -- it had a memory leak.

Description:
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=


Please review this at http://codereview.chromium.org/10534139/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/arm/full-codegen-arm.cc
  M src/arm/lithium-codegen-arm.h
  M src/ast.h
  M src/compiler.h
  M src/compiler.cc
  M src/debug.cc
  M src/full-codegen.cc
  M src/hydrogen.h
  M src/hydrogen.cc
  M src/ia32/full-codegen-ia32.cc
  M src/ia32/lithium-codegen-ia32.h
  M src/isolate.h
  M src/isolate.cc
  M src/json-parser.h
  M src/jsregexp.h
  M src/jsregexp.cc
  M src/lithium.h
  M src/liveedit.cc
  M src/mips/full-codegen-mips.cc
  M src/mips/lithium-codegen-mips.h
  M src/objects.cc
  M src/parser.h
  M src/parser.cc
  M src/rewriter.cc
  M src/runtime.cc
  M src/scopes.cc
  M src/stub-cache.h
  M src/stub-cache.cc
  M src/type-info.cc
  M src/x64/full-codegen-x64.cc
  M src/x64/lithium-codegen-x64.h
  M src/zone-inl.h
  M src/zone.h
  M src/zone.cc
  M test/cctest/test-ast.cc
  M test/cctest/test-dataflow.cc
  M test/cctest/test-liveedit.cc
  M test/cctest/test-parsing.cc
  M test/cctest/test-regexp.cc
  M test/cctest/test-strings.cc


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to