[turbofan] Rework Node guts to save space.
authortitzer <titzer@chromium.org>
Fri, 22 May 2015 11:13:02 +0000 (04:13 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 22 May 2015 11:12:47 +0000 (11:12 +0000)
commit65b66634de40355498b37dfbdcefd55773ac48a1
treed26d78547cefa90ea08ea469ddaceead388903f1
parentdd5a93cd5bcfc209f138db7d9df9306da539afdf
[turbofan] Rework Node guts to save space.

This reduces the storage per-Node storage from 7 words to 6 and per-edge
storage from 6 words to 4.
On average this is about 10%-15% space savings over the whole graph.

Remove the use of std::deque as the out-of-line storage for inputs.
Reduce size of Use links and use pointer arithmetic to find Node
from Use.

R=mstarzinger@chromium.org,jarin@chromium.org
BUG=

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

Cr-Commit-Position: refs/heads/master@{#28583}
src/compiler/node.cc
src/compiler/node.h
test/cctest/compiler/test-control-reducer.cc
test/unittests/compiler/node-unittest.cc