Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index b1619d447691ce6ec000b7c16d8b1783f4def6f3..3827fee5a5b62bb1a342b57ac408fa870f97f416 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -676,17 +676,9 @@ Handle<Symbol> Factory::NewSymbol() { |
} |
-Handle<Symbol> Factory::NewPrivateSymbol() { |
+Handle<Symbol> Factory::NewPrivateSymbol(Handle<Object> name) { |
Handle<Symbol> symbol = NewSymbol(); |
symbol->set_is_private(true); |
- return symbol; |
-} |
- |
- |
-Handle<Symbol> Factory::NewPrivateOwnSymbol(Handle<Object> name) { |
- Handle<Symbol> symbol = NewSymbol(); |
- symbol->set_is_private(true); |
- symbol->set_is_own(true); |
if (name->IsString()) { |
symbol->set_name(*name); |
} else { |