Index: src/objects-debug.cc |
=================================================================== |
--- src/objects-debug.cc (revision 1519) |
+++ src/objects-debug.cc (working copy) |
@@ -491,20 +491,19 @@ |
void String::StringPrint() { |
- StringShape shape(this); |
- if (shape.IsSymbol()) { |
+ if (StringShape(this).IsSymbol()) { |
PrintF("#"); |
- } else if (shape.IsCons()) { |
+ } else if (StringShape(this).IsCons()) { |
PrintF("c\""); |
} else { |
PrintF("\""); |
} |
for (int i = 0; i < length(); i++) { |
- PrintF("%c", Get(shape, i)); |
+ PrintF("%c", Get(i)); |
} |
- if (!shape.IsSymbol()) PrintF("\""); |
+ if (!StringShape(this).IsSymbol()) PrintF("\""); |
} |