| Index: runtime/lib/regexp.cc
|
| diff --git a/runtime/lib/regexp.cc b/runtime/lib/regexp.cc
|
| index 921a10140e752ac40260451fea4e8ed0119ca68e..7a50561109244c8f55282b3aedc2d02edff0e1f0 100644
|
| --- a/runtime/lib/regexp.cc
|
| +++ b/runtime/lib/regexp.cc
|
| @@ -20,10 +20,10 @@ DECLARE_FLAG(bool, trace_irregexp);
|
| DEFINE_NATIVE_ENTRY(RegExp_factory, 4) {
|
| ASSERT(TypeArguments::CheckedHandle(arguments->NativeArgAt(0)).IsNull());
|
| GET_NON_NULL_NATIVE_ARGUMENT(String, pattern, arguments->NativeArgAt(1));
|
| - GET_NON_NULL_NATIVE_ARGUMENT(
|
| - Instance, handle_multi_line, arguments->NativeArgAt(2));
|
| - GET_NON_NULL_NATIVE_ARGUMENT(
|
| - Instance, handle_case_sensitive, arguments->NativeArgAt(3));
|
| + GET_NON_NULL_NATIVE_ARGUMENT(Instance, handle_multi_line,
|
| + arguments->NativeArgAt(2));
|
| + GET_NON_NULL_NATIVE_ARGUMENT(Instance, handle_case_sensitive,
|
| + arguments->NativeArgAt(3));
|
| bool ignore_case = handle_case_sensitive.raw() != Bool::True().raw();
|
| bool multi_line = handle_multi_line.raw() == Bool::True().raw();
|
|
|
| @@ -36,10 +36,7 @@ DEFINE_NATIVE_ENTRY(RegExp_factory, 4) {
|
| }
|
|
|
| // Create a RegExp object containing only the initial parameters.
|
| - return RegExpEngine::CreateRegExp(thread,
|
| - pattern,
|
| - multi_line,
|
| - ignore_case);
|
| + return RegExpEngine::CreateRegExp(thread, pattern, multi_line, ignore_case);
|
| }
|
|
|
|
|
|
|