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

Unified Diff: runtime/lib/function.cc

Issue 184523002: Allocation sinking for contexts. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: added new test Created 6 years, 1 month 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/code_generator.cc » ('j') | runtime/vm/debugger.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/function.cc
===================================================================
--- runtime/lib/function.cc (revision 41687)
+++ runtime/lib/function.cc (working copy)
@@ -43,8 +43,8 @@
if (func_a.IsImplicitInstanceClosureFunction()) {
const Context& context_a = Context::Handle(Closure::context(receiver));
const Context& context_b = Context::Handle(Closure::context(other));
- const Instance& receiver_a = Instance::Handle(context_a.At(0));
- const Instance& receiver_b = Instance::Handle(context_b.At(0));
+ const Object& receiver_a = Object::Handle(context_a.At(0));
+ const Object& receiver_b = Object::Handle(context_b.At(0));
if (receiver_a.raw() == receiver_b.raw()) return Bool::True().raw();
}
}
« no previous file with comments | « no previous file | runtime/vm/code_generator.cc » ('j') | runtime/vm/debugger.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698