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

Unified Diff: runtime/vm/class_finalizer.cc

Issue 1965823002: Initial isolate reload support (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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/class_finalizer.cc
diff --git a/runtime/vm/class_finalizer.cc b/runtime/vm/class_finalizer.cc
index 81cd85c1e7a4657a6e62c1f0724d35e602e16c01..027072b6fd87e4a29dd79cecbf53538dd59b86d8 100644
--- a/runtime/vm/class_finalizer.cc
+++ b/runtime/vm/class_finalizer.cc
@@ -1923,7 +1923,7 @@ void ClassFinalizer::ApplyMixinAppAlias(const Class& mixin_app_class,
inserted_class_name = Symbols::New(thread, inserted_class_name);
const Script& script = Script::Handle(zone, mixin_app_class.script());
inserted_class = Class::New(
- inserted_class_name, script, mixin_app_class.token_pos());
+ library, inserted_class_name, script, mixin_app_class.token_pos());
inserted_class.set_is_synthesized_class();
library.AddClass(inserted_class);
@@ -2814,7 +2814,8 @@ RawType* ClassFinalizer::ResolveMixinAppType(
mixin_app_class = library.LookupLocalClass(mixin_app_class_name);
if (mixin_app_class.IsNull()) {
mixin_app_class_name = Symbols::New(thread, mixin_app_class_name);
- mixin_app_class = Class::New(mixin_app_class_name,
+ mixin_app_class = Class::New(library,
+ mixin_app_class_name,
script,
mixin_type.token_pos());
mixin_app_class.set_super_type(mixin_super_type);

Powered by Google App Engine
This is Rietveld 408576698