diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2009-11-18 15:25:58 +0100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2009-11-18 15:28:54 +0100 |
commit | 728d8a37f471afaeaa6af19823f9da8c41f1f65a (patch) | |
tree | 21e014089ff0bfb7d493691620ab9eee51176d28 /deps/v8/src/factory.h | |
parent | 8195e0f7232fed3d6a3a2cc8464fec5e36f4433c (diff) | |
download | node-new-728d8a37f471afaeaa6af19823f9da8c41f1f65a.tar.gz |
Upgrade v8 to 2.0
(With just one change: remove -Werror)
Diffstat (limited to 'deps/v8/src/factory.h')
-rw-r--r-- | deps/v8/src/factory.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/deps/v8/src/factory.h b/deps/v8/src/factory.h index cb438e95e7..951c0439b0 100644 --- a/deps/v8/src/factory.h +++ b/deps/v8/src/factory.h @@ -106,11 +106,10 @@ class Factory : public AllStatic { static Handle<String> NewConsString(Handle<String> first, Handle<String> second); - // Create a new sliced string object which represents a substring of a - // backing string. - static Handle<String> NewStringSlice(Handle<String> str, - int begin, - int end); + // Create a new string object which holds a substring of a string. + static Handle<String> NewSubString(Handle<String> str, + int begin, + int end); // Creates a new external String object. There are two String encodings // in the system: ASCII and two byte. Unlike other String types, it does |