Index: src/runtime/runtime-regexp.cc |
diff --git a/src/runtime/runtime-regexp.cc b/src/runtime/runtime-regexp.cc |
index 02b5a94ea4db33fd0fb7ce277e7238eded4b8f50..d7df25622a3d3e7b4f43a29286b8f49fd878f80c 100644 |
--- a/src/runtime/runtime-regexp.cc |
+++ b/src/runtime/runtime-regexp.cc |
@@ -779,7 +779,7 @@ RUNTIME_FUNCTION(Runtime_RegExpExecRT) { |
} |
-RUNTIME_FUNCTION(Runtime_RegExpConstructResult) { |
+RUNTIME_FUNCTION(Runtime_RegExpConstructResultRT) { |
HandleScope handle_scope(isolate); |
DCHECK(args.length() == 3); |
CONVERT_SMI_ARG_CHECKED(size, 0); |
@@ -800,6 +800,12 @@ RUNTIME_FUNCTION(Runtime_RegExpConstructResult) { |
} |
+RUNTIME_FUNCTION(Runtime_RegExpConstructResult) { |
+ SealHandleScope shs(isolate); |
+ return __RT_impl_Runtime_RegExpConstructResultRT(args, isolate); |
+} |
+ |
+ |
static JSRegExp::Flags RegExpFlagsFromString(Handle<String> flags, |
bool* success) { |
uint32_t value = JSRegExp::NONE; |