Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 31d91be18658fa3e4c6691e3af89cb342da67312..eba17a19437b86de7c502faf8f1f3d99cf2ba8f8 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -4455,6 +4455,14 @@ RUNTIME_FUNCTION(Runtime_SubString) { |
} |
+RUNTIME_FUNCTION(Runtime_InternalizeString) { |
+ HandleScope handles(isolate); |
+ RUNTIME_ASSERT(args.length() == 1); |
+ CONVERT_ARG_HANDLE_CHECKED(String, string, 0); |
+ return *isolate->factory()->InternalizeString(string); |
+} |
+ |
+ |
RUNTIME_FUNCTION(Runtime_StringMatch) { |
HandleScope handles(isolate); |
ASSERT(args.length() == 3); |