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

Unified Diff: runtime/vm/object.cc

Issue 10191020: Revert change 6946. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 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
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/stub_code_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
===================================================================
--- runtime/vm/object.cc (revision 6949)
+++ runtime/vm/object.cc (working copy)
@@ -2739,32 +2739,6 @@
}
-bool InstantiatedType::Equals(const AbstractType& other) const {
- if (raw() == other.raw()) {
- return true;
- }
- if (!other.IsInstantiatedType()) {
- return false;
- }
- InstantiatedType& other_instantiated = InstantiatedType::Handle();
- other_instantiated ^= other.raw();
- if (IsFinalized() != other_instantiated.IsFinalized()) {
- return false;
- }
- const AbstractType& this_type = AbstractType::Handle(uninstantiated_type());
- const AbstractType& other_type =
- AbstractType::Handle(other_instantiated.uninstantiated_type());
- if (!this_type.Equals(other_type)) {
- return false;
- }
- if (instantiator_type_arguments() !=
- other_instantiated.instantiator_type_arguments()) {
- return false;
- }
- return true;
-}
-
-
const char* InstantiatedType::ToCString() const {
return "InstantiatedType";
}
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/stub_code_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698