Index: src/jsregexp.cc |
diff --git a/src/jsregexp.cc b/src/jsregexp.cc |
index ab553c3d785e81bc17419f24acb380b6df0b6e6b..35b3996720dd0c657f9675b8d22201a819e9233d 100644 |
--- a/src/jsregexp.cc |
+++ b/src/jsregexp.cc |
@@ -66,14 +66,13 @@ |
namespace v8 { |
namespace internal { |
-Handle<Object> RegExpImpl::CreateRegExpLiteral(Handle<JSFunction> constructor, |
- Handle<String> pattern, |
- Handle<String> flags, |
- bool* has_pending_exception) { |
+MaybeHandle<Object> RegExpImpl::CreateRegExpLiteral( |
+ Handle<JSFunction> constructor, |
+ Handle<String> pattern, |
+ Handle<String> flags) { |
// Call the construct code with 2 arguments. |
Handle<Object> argv[] = { pattern, flags }; |
- return Execution::New(constructor, ARRAY_SIZE(argv), argv, |
- has_pending_exception); |
+ return Execution::New(constructor, ARRAY_SIZE(argv), argv); |
} |