Bug 911834 - OdinMonkey: skip ApplyTypeInformation pass (r=jandem)

--HG--
extra : rebase_source : af5ae8f0bffe18672dec9dd52aa3ab6446976481
This commit is contained in:
Luke Wagner 2013-09-03 09:56:13 -05:00
parent aa769cb10d
commit 60ef958533

View File

@ -1228,14 +1228,15 @@ OptimizeMIR(MIRGenerator *mir)
if (mir->shouldCancel("Phi reverse mapping"))
return false;
// This pass also removes copies.
if (!ApplyTypeInformation(mir, graph))
return false;
IonSpewPass("Apply types");
AssertExtendedGraphCoherency(graph);
if (!mir->compilingAsmJS()) {
if (!ApplyTypeInformation(mir, graph))
return false;
IonSpewPass("Apply types");
AssertExtendedGraphCoherency(graph);
if (mir->shouldCancel("Apply types"))
return false;
if (mir->shouldCancel("Apply types"))
return false;
}
if (graph.entryBlock()->info().executionMode() == ParallelExecution) {
ParallelSafetyAnalysis analysis(mir, graph);