Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Unified Diff: vm/symbols.h

Issue 11443005: Issue - 7123 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « vm/raw_object_snapshot.cc ('k') | vm/symbols.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « vm/raw_object_snapshot.cc ('k') | vm/symbols.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698