| Index: src/factory.h
|
| diff --git a/src/factory.h b/src/factory.h
|
| index dd613b71e49a50e8532293afb32a095fe1b98fc1..54933355eb3c84af4702dba85b437051a11bc3b3 100644
|
| --- a/src/factory.h
|
| +++ b/src/factory.h
|
| @@ -79,16 +79,16 @@ class Factory {
|
|
|
| Handle<TypeFeedbackInfo> NewTypeFeedbackInfo();
|
|
|
| - Handle<String> LookupSymbol(Vector<const char> str);
|
| + Handle<String> LookupUtf8Symbol(Vector<const char> str);
|
| + Handle<String> LookupUtf8Symbol(const char* str) {
|
| + return LookupUtf8Symbol(CStrVector(str));
|
| + }
|
| Handle<String> LookupSymbol(Handle<String> str);
|
| - Handle<String> LookupAsciiSymbol(Vector<const char> str);
|
| - Handle<String> LookupAsciiSymbol(Handle<SeqOneByteString>,
|
| + Handle<String> LookupOneByteSymbol(Vector<const char> str);
|
| + Handle<String> LookupOneByteSymbol(Handle<SeqOneByteString>,
|
| int from,
|
| int length);
|
| Handle<String> LookupTwoByteSymbol(Vector<const uc16> str);
|
| - Handle<String> LookupAsciiSymbol(const char* str) {
|
| - return LookupSymbol(CStrVector(str));
|
| - }
|
|
|
|
|
| // String creation functions. Most of the string creation functions take
|
|
|