| Index: src/usage-analyzer.cc
|
| ===================================================================
|
| --- src/usage-analyzer.cc (revision 2585)
|
| +++ src/usage-analyzer.cc (working copy)
|
| @@ -42,7 +42,7 @@
|
|
|
| class UsageComputer: public AstVisitor {
|
| public:
|
| - static bool Traverse(Node* node);
|
| + static bool Traverse(AstNode* node);
|
|
|
| void VisitBlock(Block* node);
|
| void VisitDeclaration(Declaration* node);
|
| @@ -116,7 +116,7 @@
|
| // ----------------------------------------------------------------------------
|
| // Implementation of UsageComputer
|
|
|
| -bool UsageComputer::Traverse(Node* node) {
|
| +bool UsageComputer::Traverse(AstNode* node) {
|
| UsageComputer uc(InitialWeight, false);
|
| uc.Visit(node);
|
| return !uc.HasStackOverflow();
|
|
|