| Index: src/prettyprinter.cc
|
| diff --git a/src/prettyprinter.cc b/src/prettyprinter.cc
|
| index 0a1a169ed7c4f6f9fdd4b85c7c46cf6b4eb08ab4..7f8c5678068e7a702da90302a3fe91f69b072591 100644
|
| --- a/src/prettyprinter.cc
|
| +++ b/src/prettyprinter.cc
|
| @@ -602,11 +602,11 @@ class IndentedScope BASE_EMBEDDED {
|
| ast_printer_->inc_indent();
|
| }
|
|
|
| - explicit IndentedScope(const char* txt, StaticType* type = NULL) {
|
| + explicit IndentedScope(const char* txt, SmiAnalysis* type = NULL) {
|
| ast_printer_->PrintIndented(txt);
|
| if ((type != NULL) && (type->IsKnown())) {
|
| ast_printer_->Print(" (type = ");
|
| - ast_printer_->Print(StaticType::Type2String(type));
|
| + ast_printer_->Print(SmiAnalysis::Type2String(type));
|
| ast_printer_->Print(")");
|
| }
|
| ast_printer_->Print("\n");
|
| @@ -665,7 +665,7 @@ void AstPrinter::PrintLiteralIndented(const char* info,
|
| void AstPrinter::PrintLiteralWithModeIndented(const char* info,
|
| Variable* var,
|
| Handle<Object> value,
|
| - StaticType* type) {
|
| + SmiAnalysis* type) {
|
| if (var == NULL) {
|
| PrintLiteralIndented(info, value, true);
|
| } else {
|
| @@ -673,7 +673,7 @@ void AstPrinter::PrintLiteralWithModeIndented(const char* info,
|
| if (type->IsKnown()) {
|
| OS::SNPrintF(buf, "%s (mode = %s, type = %s)", info,
|
| Variable::Mode2String(var->mode()),
|
| - StaticType::Type2String(type));
|
| + SmiAnalysis::Type2String(type));
|
| } else {
|
| OS::SNPrintF(buf, "%s (mode = %s)", info,
|
| Variable::Mode2String(var->mode()));
|
| @@ -1066,7 +1066,7 @@ void AstPrinter::VisitCountOperation(CountOperation* node) {
|
| OS::SNPrintF(buf, "%s %s (type = %s)",
|
| (node->is_prefix() ? "PRE" : "POST"),
|
| Token::Name(node->op()),
|
| - StaticType::Type2String(node->type()));
|
| + SmiAnalysis::Type2String(node->type()));
|
| } else {
|
| OS::SNPrintF(buf, "%s %s", (node->is_prefix() ? "PRE" : "POST"),
|
| Token::Name(node->op()));
|
|
|