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

Unified Diff: runtime/lib/mirrors.cc

Issue 2612043002: Fixes to patch files necessary to use the analyzer (Closed)
Patch Set: Created 3 years, 11 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
Index: runtime/lib/mirrors.cc
diff --git a/runtime/lib/mirrors.cc b/runtime/lib/mirrors.cc
index 3cf5a681a256b5f19c7f33caab153806eb72d558..f99b1113658259fec22b122b3e10ebedccef4fdb 100644
--- a/runtime/lib/mirrors.cc
+++ b/runtime/lib/mirrors.cc
@@ -1667,8 +1667,7 @@ DEFINE_NATIVE_ENTRY(ClassMirror_invokeConstructor, 5) {
Array::Handle(ArgumentsDescriptor::New(args.Length(), arg_names));
ArgumentsDescriptor args_descriptor(args_descriptor_array);
- if (!redirected_constructor.AreValidArguments(args_descriptor, NULL) ||
- !redirected_constructor.is_reflectable()) {
+ if (!redirected_constructor.AreValidArguments(args_descriptor, NULL)) {
Kevin Millikin (Google) 2017/01/04 15:31:04 We have already checked above (line 1600) that loo
external_constructor_name = redirected_constructor.name();
ThrowNoSuchMethod(AbstractType::Handle(klass.RareType()),
external_constructor_name, redirected_constructor,

Powered by Google App Engine
This is Rietveld 408576698