[turbofan] Reduce memory consumption of graph building
authordanno@chromium.org <danno@chromium.org>
Mon, 27 Oct 2014 10:12:16 +0000 (10:12 +0000)
committerdanno@chromium.org <danno@chromium.org>
Mon, 27 Oct 2014 10:12:40 +0000 (10:12 +0000)
commit16928e28d781571be2ed603c63f979f5f6f0e767
treee8044cc5615dc2acd63241cce86d58c1a6181a5a
parent16e25a11247fdb3316a4ca949dad0a529e4234c9
[turbofan] Reduce memory consumption of graph building

Allow reservation of additional input capacity when creating nodes to prevent switching to deque representation when adding well-known additional inputs.

Also ensure that only a single temporary buffer is used to create temporary input arrays before allocating nodes.

R=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/644083003

Cr-Commit-Position: refs/heads/master@{#24896}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24896 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/compiler/generic-node-inl.h
src/compiler/generic-node.h
src/compiler/graph-builder.cc
src/compiler/graph-builder.h
src/compiler/graph.cc
src/compiler/node.h
src/compiler/raw-machine-assembler.cc
src/compiler/raw-machine-assembler.h
test/cctest/compiler/graph-builder-tester.h
test/cctest/compiler/simplified-graph-builder.cc
test/cctest/compiler/simplified-graph-builder.h