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

Unified Diff: runtime/vm/object.h

Issue 2827453003: Fix for issue 29350 - VM Crashes when covariant is used incorrectly. (Closed)
Patch Set: Created 3 years, 8 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 | tests/standalone/regress_29350_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 2cbd331ace2c25433c19b3c2a2a68a16c01cde46..d7640482c0235ea3f5274477ca033a386ab12a82 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -2433,6 +2433,7 @@ class Function : public Object {
case RawFunction::kInvokeFieldDispatcher:
return true;
case RawFunction::kClosureFunction:
+ case RawFunction::kSignatureFunction:
case RawFunction::kConstructor:
case RawFunction::kImplicitStaticFinalGetter:
case RawFunction::kIrregexpFunction:
@@ -2456,7 +2457,11 @@ class Function : public Object {
case RawFunction::kIrregexpFunction:
return true;
case RawFunction::kClosureFunction:
+ case RawFunction::kSignatureFunction:
case RawFunction::kConstructor:
+ case RawFunction::kMethodExtractor:
+ case RawFunction::kNoSuchMethodDispatcher:
+ case RawFunction::kInvokeFieldDispatcher:
return false;
default:
UNREACHABLE();
« no previous file with comments | « no previous file | tests/standalone/regress_29350_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698