| Index: src/factory.cc
|
| ===================================================================
|
| --- src/factory.cc (revision 15486)
|
| +++ src/factory.cc (working copy)
|
| @@ -178,6 +178,7 @@
|
| String);
|
| }
|
|
|
| +
|
| // Internalized strings are created in the old generation (data space).
|
| Handle<String> Factory::InternalizeString(Handle<String> string) {
|
| CALL_HEAP_FUNCTION(isolate(),
|
| @@ -185,6 +186,7 @@
|
| String);
|
| }
|
|
|
| +
|
| Handle<String> Factory::InternalizeOneByteString(Vector<const uint8_t> string) {
|
| CALL_HEAP_FUNCTION(isolate(),
|
| isolate()->heap()->InternalizeOneByteString(string),
|
| @@ -1235,6 +1237,7 @@
|
| JSMessageObject);
|
| }
|
|
|
| +
|
| Handle<SharedFunctionInfo> Factory::NewSharedFunctionInfo(Handle<String> name) {
|
| CALL_HEAP_FUNCTION(isolate(),
|
| isolate()->heap()->AllocateSharedFunctionInfo(*name),
|
|
|