Index: src/profile-generator.cc |
=================================================================== |
--- src/profile-generator.cc (revision 11223) |
+++ src/profile-generator.cc (working copy) |
@@ -3510,7 +3510,7 @@ |
// This function won't work correctly for MIN_INT but this is not |
// a problem in case of heap snapshots serialization. |
-static int itoa(int value, Vector<char>& buffer, int buffer_pos) { |
+static int itoa(int value, const Vector<char>& buffer, int buffer_pos) { |
if (value < 0) { |
buffer[buffer_pos++] = '-'; |
value = -value; |