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

Unified Diff: runtime/vm/object.cc

Issue 1217323002: Intrinsic version of Object.runtimeType (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: more Created 5 years, 6 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/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 150be3ed8b4df78464ebf9ee893868e3a62f4803..421bb1ba9bfaa7a6ea576370d11b8db6899c37c3 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -3551,6 +3551,7 @@ RawObject* Class::canonical_types() const {
return raw_ptr()->canonical_types_;
}
+
void Class::set_canonical_types(const Object& value) const {
ASSERT(!value.IsNull());
StorePointer(&raw_ptr()->canonical_types_, value.raw());

Powered by Google App Engine
This is Rietveld 408576698