Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 8340b4691e5c9bae11edeb1db0e7e4f0e4632f63..495313953eb0916376891f06ad795320794d811e 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -886,29 +886,6 @@ Handle<Code> Factory::CopyCode(Handle<Code> code, Vector<byte> reloc_info) { |
} |
-MUST_USE_RESULT static inline MaybeObject* DoCopyAdd( |
- DescriptorArray* array, |
- String* key, |
- Object* value, |
- PropertyAttributes attributes) { |
- CallbacksDescriptor desc(key, value, attributes); |
- MaybeObject* obj = array->CopyAdd(&desc); |
- return obj; |
-} |
- |
- |
-// Allocate the new array. |
-Handle<DescriptorArray> Factory::CopyAppendForeignDescriptor( |
- Handle<DescriptorArray> array, |
- Handle<String> key, |
- Handle<Object> value, |
- PropertyAttributes attributes) { |
- CALL_HEAP_FUNCTION(isolate(), |
- DoCopyAdd(*array, *key, *value, attributes), |
- DescriptorArray); |
-} |
- |
- |
Handle<String> Factory::SymbolFromString(Handle<String> value) { |
CALL_HEAP_FUNCTION(isolate(), |
isolate()->heap()->LookupSymbol(*value), String); |