Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index b0d288185f21ef511676b68670d526e0d42aace8..9d4baf4a18bcba40d0785874aac2254fcdddb0ba 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -202,9 +202,7 @@ class CodeStub BASE_EMBEDDED { |
// Returns a name for logging/debugging purposes. |
SmartArrayPointer<const char> GetName(); |
- virtual void PrintName(StringStream* stream) { |
- stream->Add("%s", MajorName(MajorKey(), false)); |
- } |
+ virtual void PrintName(StringStream* stream); |
// Returns whether the code generated for this stub needs to be allocated as |
// a fixed (non-moveable) code object. |