Turn off HardConstProp in a test that depends on autoload order
commit55e9dfb8de12dc76dcedd66b527052d1d87064fa
authorJordan DeLong <jdelong@fb.com>
Tue, 28 Jan 2014 21:52:28 +0000 (28 13:52 -0800)
committerSara Golemon <sgolemon@fb.com>
Tue, 4 Feb 2014 17:22:51 +0000 (4 09:22 -0800)
tree156a481b889b7bf97bd6f07d7f764544061cf215
parentf90080930aec13df74e0fb4378a8c76ff2abaf75
Turn off HardConstProp in a test that depends on autoload order

For hphpc, the use of class_exists with these classes
disables this optimization (it is a hueristic for marking them
volatile).  HHBBC doesn't do this, so it still propagates these class
constants and prevents autoload.

Reviewed By: @ottoni

Differential Revision: D1147364
hphp/compiler/option.cpp
hphp/compiler/option.h
hphp/hhbbc/remaining.test.failures
hphp/test/slow/volatile/1221.php.hphp_opts [new file with mode: 0644]