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

Unified Diff: runtime/vm/isolate_reload.cc

Issue 2253733002: Fix handle sharing bug in implementation of shape changes. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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 | runtime/vm/isolate_reload_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate_reload.cc
diff --git a/runtime/vm/isolate_reload.cc b/runtime/vm/isolate_reload.cc
index a00f05e75700ae3baa0892b051a398c71ea9d759..bc4263e1d342229d90a7ab34ab197b6f40168a7b 100644
--- a/runtime/vm/isolate_reload.cc
+++ b/runtime/vm/isolate_reload.cc
@@ -48,7 +48,9 @@ DEFINE_FLAG(bool, check_reloaded, false,
InstanceMorpher::InstanceMorpher(Zone* zone, const Class& from, const Class& to)
- : from_(from), to_(to), mapping_(zone, 0) {
+ : from_(Class::Handle(zone, from.raw())),
+ to_(Class::Handle(zone, to.raw())),
+ mapping_(zone, 0) {
ComputeMapping();
before_ = new(zone) ZoneGrowableArray<const Instance*>(zone, 0);
after_ = new(zone) ZoneGrowableArray<const Instance*>(zone, 0);
« no previous file with comments | « no previous file | runtime/vm/isolate_reload_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698