Index: src/runtime/runtime-regexp.cc |
diff --git a/src/runtime/runtime-regexp.cc b/src/runtime/runtime-regexp.cc |
index 0ec5b370e3bfbb9c0192ed22ed07fb90622d36ff..c2271fd0ced27dd60539c3cdd2f5b93dd24dae32 100644 |
--- a/src/runtime/runtime-regexp.cc |
+++ b/src/runtime/runtime-regexp.cc |
@@ -1655,7 +1655,7 @@ RUNTIME_FUNCTION(Runtime_RegExpReplace) { |
RUNTIME_FUNCTION(Runtime_RegExpExecReThrow) { |
SealHandleScope shs(isolate); |
- DCHECK_EQ(4, args.length()); |
+ DCHECK_EQ(0, args.length()); |
Object* exception = isolate->pending_exception(); |
isolate->clear_pending_exception(); |
return isolate->ReThrow(exception); |