Fix typedefs/shapes for whole program optimization

Needed a few cases for KindOfTypedefStatement,
EnableExperimentalHipHopSyntax, and passing it through to the scanner.
Esse commit está contido em:
jdelong
2013-04-15 18:33:56 -07:00
commit de Sara Golemon
commit abc9170968
24 arquivos alterados com 30 adições e 0 exclusões
+3
Ver Arquivo
@@ -2003,6 +2003,9 @@ StatementPtr AliasManager::canonicalizeRecur(StatementPtr s, int &ret) {
break;
}
case Statement::KindOfTypedefStatement:
break;
case Statement::KindOfCatchStatement:
clear();
ret = Converge;
+1
Ver Arquivo
@@ -498,6 +498,7 @@ int ControlFlowBuilder::before(ConstructRawPtr cp) {
}
case Statement::KindOfEchoStatement:
case Statement::KindOfTypedefStatement:
break;
default:
+5
Ver Arquivo
@@ -278,6 +278,11 @@ void Option::Load(Hdf &config) {
EnableShortTags = config["EnableShortTags"].getBool(true);
if (EnableShortTags) ScannerType |= Scanner::AllowShortTags;
else ScannerType &= ~Scanner::AllowShortTags;
if (EnableHipHopExperimentalSyntax) {
ScannerType |= Scanner::EnableHipHopKeywords;
} else {
ScannerType &= ~Scanner::EnableHipHopKeywords;
}
EnableAspTags = config["EnableAspTags"].getBool();
if (EnableAspTags) ScannerType |= Scanner::AllowAspTags;
+1
Ver Arquivo
@@ -0,0 +1 @@
-vEnableHipHopSyntax=1 -vEnableHipHopExperimentalSyntax=1
+1
Ver Arquivo
@@ -0,0 +1 @@
hphp_opts.hip_hop_syntax
+1
Ver Arquivo
@@ -0,0 +1 @@
hphp_opts.hip_hop_syntax
+1
Ver Arquivo
@@ -0,0 +1 @@
hphp_opts.hip_hop_syntax
+1
Ver Arquivo
@@ -0,0 +1 @@
hphp_opts.hip_hop_syntax
+1
Ver Arquivo
@@ -0,0 +1 @@
hphp_opts.hip_hop_syntax
+1
Ver Arquivo
@@ -0,0 +1 @@
hphp_opts.hip_hop_syntax
+1
Ver Arquivo
@@ -0,0 +1 @@
hphp_opts.hip_hop_syntax
+1
Ver Arquivo
@@ -0,0 +1 @@
hphp_opts.hip_hop_syntax
+1
Ver Arquivo
@@ -0,0 +1 @@
hphp_opts.hip_hop_syntax
+1
Ver Arquivo
@@ -0,0 +1 @@
hphp_opts.hip_hop_syntax
+1
Ver Arquivo
@@ -0,0 +1 @@
hphp_opts.hip_hop_syntax
+1
Ver Arquivo
@@ -0,0 +1 @@
hphp_opts.hip_hop_syntax
+1
Ver Arquivo
@@ -0,0 +1 @@
hphp_opts.hip_hop_syntax
+1
Ver Arquivo
@@ -0,0 +1 @@
hphp_opts.hip_hop_syntax
+1
Ver Arquivo
@@ -0,0 +1 @@
hphp_opts.hip_hop_syntax
+1
Ver Arquivo
@@ -0,0 +1 @@
hphp_opts.hip_hop_syntax
+1
Ver Arquivo
@@ -0,0 +1 @@
hphp_opts.hip_hop_syntax
+1
Ver Arquivo
@@ -0,0 +1 @@
hphp_opts.hip_hop_syntax
+1
Ver Arquivo
@@ -0,0 +1 @@
hphp_opts.hip_hop_syntax
+1
Ver Arquivo
@@ -0,0 +1 @@
hphp_opts.hip_hop_syntax