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

Unified Diff: src/heap.h

Issue 11593007: Replace the use CharacterStreams in Heap::AllocateSymbolInternal and String::ComputeHash (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
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 | « no previous file | src/heap.cc » ('j') | src/heap-inl.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap.h
diff --git a/src/heap.h b/src/heap.h
index 068c44e713f5569515606e2b582caee994ea17f1..f9a921e05d786c8b6b340c038ba636752a903138 100644
--- a/src/heap.h
+++ b/src/heap.h
@@ -764,8 +764,9 @@ class Heap {
Vector<const uc16> str,
uint32_t hash_field);
+ template<typename T>
MUST_USE_RESULT MaybeObject* AllocateInternalSymbol(
- unibrow::CharacterStream* buffer, int chars, uint32_t hash_field);
+ T t, int chars, uint32_t hash_field);
MUST_USE_RESULT MaybeObject* AllocateExternalSymbol(
Yang 2012/12/17 14:30:34 Let's remove this function header, while we are at
Vector<const char> str,
« no previous file with comments | « no previous file | src/heap.cc » ('j') | src/heap-inl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698