Index: runtime/vm/code_generator.cc |
=================================================================== |
--- runtime/vm/code_generator.cc (revision 41687) |
+++ runtime/vm/code_generator.cc (working copy) |
@@ -265,7 +265,7 @@ |
const Context& ctx = Context::CheckedHandle(arguments.ArgAt(0)); |
Context& cloned_ctx = Context::Handle(Context::New(ctx.num_variables())); |
cloned_ctx.set_parent(Context::Handle(ctx.parent())); |
- Instance& inst = Instance::Handle(isolate); |
+ Object& inst = Object::Handle(isolate); |
for (int i = 0; i < ctx.num_variables(); i++) { |
inst = ctx.At(i); |
cloned_ctx.SetAt(i, inst); |