diff options
Diffstat (limited to 'deps/v8/src/profiler/strings-storage.h')
-rw-r--r-- | deps/v8/src/profiler/strings-storage.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/profiler/strings-storage.h b/deps/v8/src/profiler/strings-storage.h index 5c0f8afd93..9b56a6e412 100644 --- a/deps/v8/src/profiler/strings-storage.h +++ b/deps/v8/src/profiler/strings-storage.h @@ -29,12 +29,12 @@ class V8_EXPORT_PRIVATE StringsStorage { // Returns a formatted string, de-duplicated via the storage. PRINTF_FORMAT(2, 3) const char* GetFormatted(const char* format, ...); // Returns a stored string resulting from name, or "<symbol>" for a symbol. - const char* GetName(Name* name); + const char* GetName(Name name); // Returns the string representation of the int from the store. const char* GetName(int index); // Appends string resulting from name to prefix, then returns the stored // result. - const char* GetConsName(const char* prefix, Name* name); + const char* GetConsName(const char* prefix, Name name); private: static bool StringsMatch(void* key1, void* key2); |