Index: src/heap.h |
diff --git a/src/heap.h b/src/heap.h |
index 068c44e713f5569515606e2b582caee994ea17f1..6d06f687b677dc491bdc391cd1cb42e33daef2bd 100644 |
--- a/src/heap.h |
+++ b/src/heap.h |
@@ -1066,14 +1066,14 @@ class Heap { |
// Returns Failure::RetryAfterGC(requested_bytes, space) if allocation |
// failed. |
// Please note this function does not perform a garbage collection. |
- MUST_USE_RESULT MaybeObject* LookupSymbol(Vector<const char> str); |
- MUST_USE_RESULT MaybeObject* LookupAsciiSymbol(Vector<const char> str); |
- MUST_USE_RESULT MaybeObject* LookupTwoByteSymbol(Vector<const uc16> str); |
- MUST_USE_RESULT MaybeObject* LookupAsciiSymbol(const char* str) { |
- return LookupSymbol(CStrVector(str)); |
+ MUST_USE_RESULT MaybeObject* LookupUtf8Symbol(Vector<const char> str); |
+ MUST_USE_RESULT MaybeObject* LookupUtf8Symbol(const char* str) { |
+ return LookupUtf8Symbol(CStrVector(str)); |
} |
+ MUST_USE_RESULT MaybeObject* LookupOneByteSymbol(Vector<const char> str); |
+ MUST_USE_RESULT MaybeObject* LookupTwoByteSymbol(Vector<const uc16> str); |
MUST_USE_RESULT MaybeObject* LookupSymbol(String* str); |
- MUST_USE_RESULT MaybeObject* LookupAsciiSymbol( |
+ MUST_USE_RESULT MaybeObject* LookupOneByteSymbol( |
Handle<SeqOneByteString> string, int from, int length); |
bool LookupSymbolIfExists(String* str, String** symbol); |