Index: src/ast/prettyprinter.cc |
diff --git a/src/ast/prettyprinter.cc b/src/ast/prettyprinter.cc |
index e845821ebdaedacb1cb42012d315585f67e4f972..2a79049b083a58c13c51b3f9490744aea83bb96c 100644 |
--- a/src/ast/prettyprinter.cc |
+++ b/src/ast/prettyprinter.cc |
@@ -1055,8 +1055,7 @@ |
if (object->IsJSFunction()) { |
Print("JS-Function"); |
} else if (object->IsJSArray()) { |
- Print("JS-array[%u]", |
- Smi::cast(JSArray::cast(object)->length())->value()); |
+ Print("JS-array[%u]", JSArray::cast(object)->length()); |
} else if (object->IsJSObject()) { |
Print("JS-Object"); |
} else { |
@@ -1146,7 +1145,7 @@ |
for (int i = 0; i < indent_; i++) { |
Print(". "); |
} |
- Print("%s", txt); |
+ Print(txt); |
} |
@@ -1523,7 +1522,7 @@ |
if (node->flags() & RegExp::kSticky) buf[i++] = 'y'; |
buf[i] = '\0'; |
PrintIndented("FLAGS "); |
- Print("%s", buf.start()); |
+ Print(buf.start()); |
Print("\n"); |
} |