Index: src/heap.h |
=================================================================== |
--- src/heap.h (revision 6096) |
+++ 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); |