Index: src/runtime/runtime-strings.cc |
diff --git a/src/runtime/runtime-strings.cc b/src/runtime/runtime-strings.cc |
index 9bfd69aca08e6bfc0368d7c830b0d6aac37c937d..89b0d2bfa8fe08e430a19f65397f0d15a46604f7 100644 |
--- a/src/runtime/runtime-strings.cc |
+++ b/src/runtime/runtime-strings.cc |
@@ -279,7 +279,7 @@ RUNTIME_FUNCTION(Runtime_StringLocaleCompare) { |
} |
-RUNTIME_FUNCTION(Runtime_SubString) { |
+RUNTIME_FUNCTION(Runtime_SubStringRT) { |
HandleScope scope(isolate); |
DCHECK(args.length() == 3); |
@@ -307,7 +307,13 @@ RUNTIME_FUNCTION(Runtime_SubString) { |
} |
-RUNTIME_FUNCTION(Runtime_StringAdd) { |
+RUNTIME_FUNCTION(Runtime_SubString) { |
+ SealHandleScope shs(isolate); |
+ return __RT_impl_Runtime_SubStringRT(args, isolate); |
+} |
+ |
+ |
+RUNTIME_FUNCTION(Runtime_StringAddRT) { |
HandleScope scope(isolate); |
DCHECK(args.length() == 2); |
CONVERT_ARG_HANDLE_CHECKED(String, str1, 0); |
@@ -320,6 +326,12 @@ RUNTIME_FUNCTION(Runtime_StringAdd) { |
} |
+RUNTIME_FUNCTION(Runtime_StringAdd) { |
+ SealHandleScope shs(isolate); |
+ return __RT_impl_Runtime_StringAddRT(args, isolate); |
+} |
+ |
+ |
RUNTIME_FUNCTION(Runtime_InternalizeString) { |
HandleScope handles(isolate); |
RUNTIME_ASSERT(args.length() == 1); |
@@ -414,7 +426,7 @@ RUNTIME_FUNCTION(Runtime_CharFromCode) { |
} |
-RUNTIME_FUNCTION(Runtime_StringCompare) { |
+RUNTIME_FUNCTION(Runtime_StringCompareRT) { |
HandleScope handle_scope(isolate); |
DCHECK(args.length() == 2); |
@@ -483,6 +495,12 @@ RUNTIME_FUNCTION(Runtime_StringCompare) { |
} |
+RUNTIME_FUNCTION(Runtime_StringCompare) { |
+ SealHandleScope shs(isolate); |
+ return __RT_impl_Runtime_StringCompareRT(args, isolate); |
+} |
+ |
+ |
RUNTIME_FUNCTION(Runtime_StringBuilderConcat) { |
HandleScope scope(isolate); |
DCHECK(args.length() == 3); |