Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(316)

Unified Diff: runtime/lib/regexp.cc

Issue 2468093007: clang-format runtime/lib (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/lib/object.cc ('k') | runtime/lib/simd128.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « runtime/lib/object.cc ('k') | runtime/lib/simd128.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698