| Index: src/heap.h
|
| ===================================================================
|
| --- src/heap.h (revision 6170)
|
| +++ src/heap.h (working copy)
|
| @@ -412,9 +412,12 @@
|
| MUST_USE_RESULT static MaybeObject* AllocateStringFromAscii(
|
| Vector<const char> str,
|
| PretenureFlag pretenure = NOT_TENURED);
|
| - MUST_USE_RESULT static MaybeObject* AllocateStringFromUtf8(
|
| + MUST_USE_RESULT static inline MaybeObject* AllocateStringFromUtf8(
|
| Vector<const char> str,
|
| PretenureFlag pretenure = NOT_TENURED);
|
| + MUST_USE_RESULT static MaybeObject* AllocateStringFromUtf8Slow(
|
| + Vector<const char> str,
|
| + PretenureFlag pretenure = NOT_TENURED);
|
| MUST_USE_RESULT static MaybeObject* AllocateStringFromTwoByte(
|
| Vector<const uc16> str,
|
| PretenureFlag pretenure = NOT_TENURED);
|
| @@ -428,6 +431,14 @@
|
| int chars,
|
| uint32_t hash_field);
|
|
|
| + MUST_USE_RESULT static inline MaybeObject* AllocateAsciiSymbol(
|
| + Vector<const char> str,
|
| + uint32_t hash_field);
|
| +
|
| + MUST_USE_RESULT static inline MaybeObject* AllocateTwoByteSymbol(
|
| + Vector<const uc16> str,
|
| + uint32_t hash_field);
|
| +
|
| MUST_USE_RESULT static MaybeObject* AllocateInternalSymbol(
|
| unibrow::CharacterStream* buffer, int chars, uint32_t hash_field);
|
|
|
| @@ -683,6 +694,9 @@
|
| // failed.
|
| // Please note this function does not perform a garbage collection.
|
| MUST_USE_RESULT static MaybeObject* LookupSymbol(Vector<const char> str);
|
| + MUST_USE_RESULT static MaybeObject* LookupAsciiSymbol(Vector<const char> str);
|
| + MUST_USE_RESULT static MaybeObject* LookupTwoByteSymbol(
|
| + Vector<const uc16> str);
|
| MUST_USE_RESULT static MaybeObject* LookupAsciiSymbol(const char* str) {
|
| return LookupSymbol(CStrVector(str));
|
| }
|
| @@ -2059,7 +2073,6 @@
|
| friend class ExternalReference;
|
| // Inline implementation of the cache.
|
| friend class TranscendentalCacheStub;
|
| - friend class TranscendentalCacheSSE2Stub;
|
|
|
| static TranscendentalCache* caches_[kNumberOfCaches];
|
| Element elements_[kCacheSize];
|
|
|