Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index f7c89175da75c2fb7916015a34adf9954b565eef..4bfb921f66e52fea5ab433546ecbb1f00e5fee67 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -9291,14 +9291,6 @@ uint32_t StringHasher::ComputeUtf8Hash(Vector<const char> chars, |
} |
-MaybeObject* String::SubString(int start, int end, PretenureFlag pretenure) { |
- Heap* heap = GetHeap(); |
- if (start == 0 && end == length()) return this; |
- MaybeObject* result = heap->AllocateSubString(this, start, end, pretenure); |
- return result; |
-} |
- |
- |
void String::PrintOn(FILE* file) { |
int length = this->length(); |
for (int i = 0; i < length; i++) { |