Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index bfe1f5577833c9902afa27efeab45953436bb53c..57e71a56dc75db030c4dd6d975737aa9f9251014 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -9298,14 +9298,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++) { |