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

Unified Diff: runtime/vm/intermediate_language_x64.cc

Issue 10827288: - Support for patching of class methods and fields. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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
Index: runtime/vm/intermediate_language_x64.cc
===================================================================
--- runtime/vm/intermediate_language_x64.cc (revision 10615)
+++ runtime/vm/intermediate_language_x64.cc (working copy)
@@ -359,7 +359,7 @@
__ cmpq(temp, Immediate(ic_data.GetReceiverClassIdAt(i)));
__ j(NOT_EQUAL, &next_test);
const Function& target = Function::ZoneHandle(ic_data.GetTargetAt(i));
- if (target.owner() == object_store->object_class()) {
+ if (target.Owner() == object_store->object_class()) {
// Object.== is same as ===.
__ Drop(2);
__ cmpq(left, right);
@@ -1110,7 +1110,7 @@
void AllocateObjectWithBoundsCheckComp::EmitNativeCode(
FlowGraphCompiler* compiler) {
- const Class& cls = Class::ZoneHandle(constructor().owner());
+ const Class& cls = Class::ZoneHandle(constructor().Owner());
Register type_arguments = locs()->in(0).reg();
Register instantiator_type_arguments = locs()->in(1).reg();
Register result = locs()->out().reg();

Powered by Google App Engine
This is Rietveld 408576698