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

Unified Diff: runtime/lib/object.cc

Issue 27307005: Change == into an instance call to allow polymorphic inlining of ==. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: rebased, addressed comments Created 7 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/lib/object_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/object.cc
===================================================================
--- runtime/lib/object.cc (revision 29797)
+++ runtime/lib/object.cc (working copy)
@@ -18,6 +18,13 @@
DECLARE_FLAG(bool, trace_type_checks);
+DEFINE_NATIVE_ENTRY(Object_equals, 1) {
+ // Implemented in the flow graph builder.
+ UNREACHABLE();
+ return Object::null();
+}
+
+
DEFINE_NATIVE_ENTRY(Object_cid, 1) {
const Instance& instance = Instance::CheckedHandle(arguments->NativeArgAt(0));
return Smi::New(instance.GetClassId());
« no previous file with comments | « no previous file | runtime/lib/object_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698