[turbofan] Some javascript operators are globally shared singletons.
authorbmeurer@chromium.org <bmeurer@chromium.org>
Tue, 30 Sep 2014 10:42:44 +0000 (10:42 +0000)
committerbmeurer@chromium.org <bmeurer@chromium.org>
Tue, 30 Sep 2014 10:42:44 +0000 (10:42 +0000)
commitc1ee6247cae116c54093df116c479ab04a9fdfed
treeb66c1ebe2b383bd4f525dcf0a7252c87c5511af0
parent40a968bec45551c949e0f17062b4b392290006ef
[turbofan] Some javascript operators are globally shared singletons.

Also cleanup the interface, and make the parameter class/accessors
explicit to work-around the type-unsafety of OpParameter<T>.

TEST=compiler-unittests,cctest,mjsunit
R=mstarzinger@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24322 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
19 files changed:
BUILD.gn
src/compiler/ast-graph-builder.cc
src/compiler/ast-graph-builder.h
src/compiler/change-lowering.cc
src/compiler/compiler.gyp
src/compiler/js-builtin-reducer-unittest.cc
src/compiler/js-context-specialization.cc
src/compiler/js-generic-lowering.cc
src/compiler/js-generic-lowering.h
src/compiler/js-operator-unittest.cc [new file with mode: 0644]
src/compiler/js-operator.cc [new file with mode: 0644]
src/compiler/js-operator.h
src/compiler/machine-operator-reducer.cc
src/compiler/operator-properties-inl.h
src/compiler/typer.cc
src/runtime/runtime.h
test/cctest/compiler/test-js-context-specialization.cc
test/cctest/compiler/test-machine-operator-reducer.cc
tools/gyp/v8.gyp