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

Unified Diff: src/builtins/builtins-regexp.cc

Issue 2415993003: Remove RETURN_RESULT macro (Closed)
Patch Set: Remove RETURN_RESULT macro Created 4 years, 2 months 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 | « no previous file | src/isolate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/builtins-regexp.cc
diff --git a/src/builtins/builtins-regexp.cc b/src/builtins/builtins-regexp.cc
index fa7241941d7cc90d7a42025b405aa5f664657fd6..1e3f1844beeb0ccc803bba3f20dc8551d1764ce2 100644
--- a/src/builtins/builtins-regexp.cc
+++ b/src/builtins/builtins-regexp.cc
@@ -60,9 +60,7 @@ MaybeHandle<JSRegExp> RegExpInitialize(Isolate* isolate,
}
// TODO(jgruber): We could avoid the flags back and forth conversions.
- RETURN_RESULT(isolate,
- JSRegExp::Initialize(regexp, pattern_string, flags_string),
- JSRegExp);
+ return JSRegExp::Initialize(regexp, pattern_string, flags_string);
}
} // namespace
« no previous file with comments | « no previous file | src/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698