Index: src/heap.h |
diff --git a/src/heap.h b/src/heap.h |
index c6b3794404fb99c9487c2fcd9cece749acb0c772..2916f9fd19db94514c1995393ad7d1d0d3fe7201 100644 |
--- a/src/heap.h |
+++ b/src/heap.h |
@@ -706,7 +706,7 @@ class Heap { |
// Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation |
// failed. |
// Please note this does not perform a garbage collection. |
- MUST_USE_RESULT MaybeObject* AllocateStringFromAscii( |
+ MUST_USE_RESULT MaybeObject* AllocateStringFromOneByte( |
Vector<const char> str, |
PretenureFlag pretenure = NOT_TENURED); |
MUST_USE_RESULT inline MaybeObject* AllocateStringFromUtf8( |
@@ -750,7 +750,7 @@ class Heap { |
// Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation |
// failed. |
// Please note this does not perform a garbage collection. |
- MUST_USE_RESULT MaybeObject* AllocateRawAsciiString( |
+ MUST_USE_RESULT MaybeObject* AllocateRawOneByteString( |
int length, |
PretenureFlag pretenure = NOT_TENURED); |
MUST_USE_RESULT MaybeObject* AllocateRawTwoByteString( |