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

Unified Diff: runtime/vm/method_recognizer.h

Issue 2953753002: Revert "Inline instance object hash code into object header on 64 bit." (Closed)
Patch Set: Created 3 years, 6 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/intrinsifier_x64.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/method_recognizer.h
diff --git a/runtime/vm/method_recognizer.h b/runtime/vm/method_recognizer.h
index b6547aceb187354b2c6a56fccd9cf293d0e50a33..e572e49f3182e4d57630fe8fd37b818ce1310a10 100644
--- a/runtime/vm/method_recognizer.h
+++ b/runtime/vm/method_recognizer.h
@@ -139,7 +139,7 @@ namespace dart {
// List of intrinsics:
// (class-name, function-name, intrinsification method, fingerprint).
-#define CORE_LIB_NON_HASH_INTRINSIC_LIST(V) \
+#define CORE_LIB_INTRINSIC_LIST(V) \
V(_Smi, ~, Smi_bitNegate, Smi, 0x6574c6b0) \
V(_Smi, get:bitLength, Smi_bitLength, Smi, 0x25b356ab) \
V(_Smi, _bitAndFromSmi, Smi_bitAndFromSmi, Smi, 0x490a4da1) \
@@ -190,19 +190,6 @@ namespace dart {
V(_TwoByteString, ==, TwoByteString_equality, Bool, 0x4719e83f) \
-#define CORE_LIB_IN_HEADER_HASH_INTRINSIC_LIST(V) \
- V(::, _getHash, Object_getHash, Smi, 0x2827856d) \
- V(::, _setHash, Object_setHash, Object, 0x302d1fe8) \
-
-#if defined(HASH_IN_OBJECT_HEADER)
-#define CORE_LIB_INTRINSIC_LIST(V) \
- CORE_LIB_NON_HASH_INTRINSIC_LIST(V) \
- CORE_LIB_IN_HEADER_HASH_INTRINSIC_LIST(V)
-#else
-#define CORE_LIB_INTRINSIC_LIST(V) \
- CORE_LIB_NON_HASH_INTRINSIC_LIST(V)
-#endif
-
#define CORE_INTEGER_LIB_INTRINSIC_LIST(V) \
V(_IntegerImplementation, _addFromInteger, Integer_addFromInteger, \
Dynamic, 0x6a10c54a) \
« no previous file with comments | « runtime/vm/intrinsifier_x64.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698