| Index: vm/symbols.h
|
| ===================================================================
|
| --- vm/symbols.h (revision 15761)
|
| +++ vm/symbols.h (working copy)
|
| @@ -215,8 +215,10 @@
|
| };
|
|
|
| // Helper functions to create a symbol given a string or set of characters.
|
| - template<typename T>
|
| - static RawString* NewSymbol(const T* characters, intptr_t len);
|
| + template<typename CharacterType, typename CallbackType>
|
| + static RawString* NewSymbol(const CharacterType* characters,
|
| + intptr_t len,
|
| + CallbackType new_string);
|
|
|
| // Add the string into the VM isolate symbol table.
|
| static void Add(const Array& symbol_table, const String& str);
|
|
|