Index: src/regexp/regexp-utils.cc |
diff --git a/src/regexp/regexp-utils.cc b/src/regexp/regexp-utils.cc |
index 8de904b72b7883192463c502a2c56d1245c285ca..963bb68b7f9749ac47893415352afcad6b2da6ed 100644 |
--- a/src/regexp/regexp-utils.cc |
+++ b/src/regexp/regexp-utils.cc |
@@ -154,7 +154,7 @@ MaybeHandle<Object> RegExpUtils::RegExpExec(Isolate* isolate, |
ScopedVector<Handle<Object>> argv(argc); |
argv[0] = string; |
- return Execution::Call(isolate, exec, regexp_exec, argc, argv.start()); |
+ return Execution::Call(isolate, regexp_exec, regexp, argc, argv.start()); |
} |
} |