Add forwarding so that passes' ctor can have args.
authorqining <qining@google.com>
Wed, 31 Aug 2016 16:44:49 +0000 (12:44 -0400)
committerqining <qining@google.com>
Wed, 31 Aug 2016 19:27:55 +0000 (15:27 -0400)
commit2ce67252c8a09cbe4f1613ea5add266ffdcaf3d0
tree0ed34c923504998c46a66e3e567267572ac78fce
parent273920c55407751940195393e0152d8155aa5b7a
Add forwarding so that passes' ctor can have args.

Also removed the default argument value of `skip_nop` for function
`SinglePassRunAndCheck()` and `SinglePassRunAndDisassemble()`. This is
required to support variadic arguments.
source/opt/pass_manager.h
test/opt/assembly_builder.h [changed mode: 0755->0644]
test/opt/pass_fixture.h
test/opt/test_assembly_builder.cpp
test/opt/test_freeze_spec_const.cpp
test/opt/test_pass_manager.cpp
test/opt/test_strip_debug_info.cpp