Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 67e5e9e3dfaf84a7d2c2c57ab51c41cc7a408105..76ca766055af5fcb2fdee4d30b33da23e938328a 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -4463,10 +4463,6 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_SubString) { |
RUNTIME_ASSERT(start >= 0); |
RUNTIME_ASSERT(end <= value->length()); |
isolate->counters()->sub_string_runtime()->Increment(); |
- if (end - start == 1) { |
- return isolate->heap()->LookupSingleCharacterStringFromCode( |
- value->Get(start)); |
- } |
return value->SubString(start, end); |
} |