https://codereview.chromium.org/816053002/diff/40001/test/unittests/compiler/graph-unittest.h
File test/unittests/compiler/graph-unittest.h (right):
https://codereview.chromium.org/816053002/diff/40001/test/unittests/compiler/graph-unittest.h#newcode78
test/unittests/compiler/graph-unittest.h:78:
On 2015/01/15 13:43:09, Benedikt Meurer wrote:
Well this kind of goes against the purpose of GraphTest. GraphTest
should be a
base class for Graph tests and as independent and generic as possible.
So please
move these to loop-peeling-unittest.cc and only hoist them into a
header when
really necessary. And if you only need a Graph and
CommonOperatorBuilder, then
pass them as parameters. GraphTest should not be used as a way to pass
around
Graph+CommonOperatorBuilder.
PTAL, I've made these utilities into standalone structs and added helper
methods to the LoopPeelerTest to create and chain them together.
https://codereview.chromium.org/816053002/
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.