Chromium Code Reviews| Index: src/factory.cc |
| diff --git a/src/factory.cc b/src/factory.cc |
| index 855c1494a3e53f1e243cc71db819879a032d48ed..fc915ca0ee91b93f8f1c314e1267f161dc5025b8 100644 |
| --- a/src/factory.cc |
| +++ b/src/factory.cc |
| @@ -283,6 +283,14 @@ Handle<String> Factory::NewExternalStringFromTwoByte( |
| } |
| +Handle<Symbol> Factory::NewSymbol() { |
| + CALL_HEAP_FUNCTION( |
| + isolate(), |
| + isolate()->heap()->AllocateSymbol(), |
| + Symbol); |
| +} |
| + |
| + |
| Handle<Context> Factory::NewNativeContext() { |
| CALL_HEAP_FUNCTION( |
| isolate(), |