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

Unified Diff: runtime/vm/object.h

Issue 2403613002: Reduce size of monomorphic checked entry. (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
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 139aab3b8b45e1f526f8a0032e665860fe6e3920..82f3ef7b990bdc2b6ef496bd74688da7026d3bf0 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -4129,17 +4129,17 @@ class Instructions : public Object {
static const intptr_t kCheckedEntryOffset = 0;
static const intptr_t kUncheckedEntryOffset = 0;
#elif defined(TARGET_ARCH_X64)
- static const intptr_t kCheckedEntryOffset = 23;
- static const intptr_t kUncheckedEntryOffset = 44;
+ static const intptr_t kCheckedEntryOffset = 16;
+ static const intptr_t kUncheckedEntryOffset = 38;
#elif defined(TARGET_ARCH_ARM)
- static const intptr_t kCheckedEntryOffset = 12;
- static const intptr_t kUncheckedEntryOffset = 36;
+ static const intptr_t kCheckedEntryOffset = 8;
+ static const intptr_t kUncheckedEntryOffset = 32;
#elif defined(TARGET_ARCH_ARM64)
- static const intptr_t kCheckedEntryOffset = 24;
- static const intptr_t kUncheckedEntryOffset = 48;
-#elif defined(TARGET_ARCH_MIPS)
static const intptr_t kCheckedEntryOffset = 16;
- static const intptr_t kUncheckedEntryOffset = 56;
+ static const intptr_t kUncheckedEntryOffset = 40;
+#elif defined(TARGET_ARCH_MIPS)
+ static const intptr_t kCheckedEntryOffset = 12;
+ static const intptr_t kUncheckedEntryOffset = 52;
#elif defined(TARGET_ARCH_DBC)
static const intptr_t kCheckedEntryOffset = 0;
static const intptr_t kUncheckedEntryOffset = 0;

Powered by Google App Engine
This is Rietveld 408576698