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

Unified Diff: runtime/vm/object.cc

Issue 2734323003: Re-landing of "replace TrySync with Metadata". (Closed)
Patch Set: Address review comments Created 3 years, 9 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 | « runtime/vm/object.h ('k') | runtime/vm/precompiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 4059f6beefb88fbfd5ef09c20506422ac25e8569..5c7d44364422df655e95d07dd041dfa0a45f7568 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -14007,6 +14007,17 @@ void Code::set_stackmaps(const Array& maps) const {
}
+#if !defined(DART_PRECOMPILED_RUNTIME) && !defined(DART_PRECOMPILER)
+void Code::set_variables(const Smi& smi) const {
+ StorePointer(&raw_ptr()->catch_entry_.variables_, smi.raw());
+}
+#else
+void Code::set_catch_entry_state_maps(const TypedData& maps) const {
+ StorePointer(&raw_ptr()->catch_entry_.catch_entry_state_maps_, maps.raw());
+}
+#endif
+
+
void Code::set_deopt_info_array(const Array& array) const {
#if defined(DART_PRECOMPILED_RUNTIME)
UNREACHABLE();
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/precompiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698