[turbofan] Cache float32 constants on the JSGraph level.
authorbmeurer <bmeurer@chromium.org>
Tue, 23 Dec 2014 14:12:04 +0000 (06:12 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 23 Dec 2014 14:12:21 +0000 (14:12 +0000)
commit4f9193e047d50b1ffbca95e8185576af82c722b3
tree797dba44d31472c9083971c1357f2035d48138e3
parent9be7f79aa469eafb9cacdaab792ea8830d581aaa
[turbofan] Cache float32 constants on the JSGraph level.

Also slightly refactor the NodeCache and CommonNodeCache classes to
reduce inherent overhead of caching.

TEST=cctest

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

Cr-Commit-Position: refs/heads/master@{#25937}
BUILD.gn
src/compiler/common-node-cache.cc [new file with mode: 0644]
src/compiler/common-node-cache.h
src/compiler/js-graph.cc
src/compiler/node-cache.cc
src/compiler/node-cache.h
test/cctest/compiler/test-node-cache.cc
tools/gyp/v8.gyp