Chromium Code Reviews| Index: src/factory.cc |
| diff --git a/src/factory.cc b/src/factory.cc |
| index 1dd246fc487431c7289047d3e62221d91bc866b6..cfb6aa0a87debdc1c517906c7df3d78a038666fb 100644 |
| --- a/src/factory.cc |
| +++ b/src/factory.cc |
| @@ -363,6 +363,14 @@ Handle<Symbol> Factory::NewSymbol() { |
| } |
| +Handle<Private> Factory::NewPrivate() { |
| + CALL_HEAP_FUNCTION( |
| + isolate(), |
| + isolate()->heap()->AllocatePrivate(), |
| + Private); |
| +} |
| + |
| + |
| Handle<Context> Factory::NewNativeContext() { |
| CALL_HEAP_FUNCTION( |
| isolate(), |