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

Unified Diff: runtime/vm/object_store.h

Issue 2451893002: Revert "Recognize and optimize a.runtimeType == b.runtimeType pattern." (Closed)
Patch Set: Created 4 years, 2 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.cc ('k') | runtime/vm/precompiler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object_store.h
diff --git a/runtime/vm/object_store.h b/runtime/vm/object_store.h
index d663145d8d06c9377d1ef9b97c9e14eaeb4f2384..33c25ec20b342f90201a3ea0e927ad7c9b879b54 100644
--- a/runtime/vm/object_store.h
+++ b/runtime/vm/object_store.h
@@ -81,9 +81,6 @@ class ObjectStore {
void set_int_type(const Type& value) {
int_type_ = value.raw();
}
- static intptr_t int_type_offset() {
- return OFFSET_OF(ObjectStore, int_type_);
- }
RawClass* integer_implementation_class() const {
return integer_implementation_class_;
@@ -96,16 +93,14 @@ class ObjectStore {
void set_smi_class(const Class& value) { smi_class_ = value.raw(); }
RawType* smi_type() const { return smi_type_; }
- void set_smi_type(const Type& value) { smi_type_ = value.raw(); }
+ void set_smi_type(const Type& value) { smi_type_ = value.raw();
+ }
RawClass* double_class() const { return double_class_; }
void set_double_class(const Class& value) { double_class_ = value.raw(); }
RawType* double_type() const { return double_type_; }
void set_double_type(const Type& value) { double_type_ = value.raw(); }
- static intptr_t double_type_offset() {
- return OFFSET_OF(ObjectStore, double_type_);
- }
RawClass* mint_class() const { return mint_class_; }
void set_mint_class(const Class& value) { mint_class_ = value.raw(); }
@@ -120,9 +115,6 @@ class ObjectStore {
void set_string_type(const Type& value) {
string_type_ = value.raw();
}
- static intptr_t string_type_offset() {
- return OFFSET_OF(ObjectStore, string_type_);
- }
RawClass* compiletime_error_class() const {
return compiletime_error_class_;
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/precompiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698