Bug 910807 - IonMonkey: Change Nobe to Node, to fix inconsistencies, both with the places that still said "beta node", and with the widely-used phrase "phi node". r=nbp

This commit is contained in:
Dan Gohman 2013-09-12 10:39:31 -07:00
parent 1938109537
commit b9f8166806
3 changed files with 8 additions and 8 deletions

View File

@ -1304,7 +1304,7 @@ OptimizeMIR(MIRGenerator *mir)
if (js_IonOptions.rangeAnalysis) {
RangeAnalysis r(mir, graph);
if (!r.addBetaNobes())
if (!r.addBetaNodes())
return false;
IonSpewPass("Beta");
AssertExtendedGraphCoherency(graph);
@ -1320,7 +1320,7 @@ OptimizeMIR(MIRGenerator *mir)
if (mir->shouldCancel("Range Analysis"))
return false;
if (!r.removeBetaNobes())
if (!r.removeBetaNodes())
return false;
IonSpewPass("De-Beta");
AssertExtendedGraphCoherency(graph);

View File

@ -124,9 +124,9 @@ RangeAnalysis::replaceDominatedUsesWith(MDefinition *orig, MDefinition *dom,
}
bool
RangeAnalysis::addBetaNobes()
RangeAnalysis::addBetaNodes()
{
IonSpew(IonSpew_Range, "Adding beta nobes");
IonSpew(IonSpew_Range, "Adding beta nodes");
for (PostorderIterator i(graph_.poBegin()); i != graph_.poEnd(); i++) {
MBasicBlock *block = *i;
@ -230,9 +230,9 @@ RangeAnalysis::addBetaNobes()
}
bool
RangeAnalysis::removeBetaNobes()
RangeAnalysis::removeBetaNodes()
{
IonSpew(IonSpew_Range, "Removing beta nobes");
IonSpew(IonSpew_Range, "Removing beta nodes");
for (PostorderIterator i(graph_.poBegin()); i != graph_.poEnd(); i++) {
MBasicBlock *block = *i;

View File

@ -80,10 +80,10 @@ class RangeAnalysis
public:
MOZ_CONSTEXPR RangeAnalysis(MIRGenerator *mir, MIRGraph &graph) :
mir(mir), graph_(graph) {}
bool addBetaNobes();
bool addBetaNodes();
bool analyze();
bool addRangeAssertions();
bool removeBetaNobes();
bool removeBetaNodes();
bool truncate();
private: