summaryrefslogtreecommitdiff
path: root/src/vm/precode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/precode.h')
-rw-r--r--src/vm/precode.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vm/precode.h b/src/vm/precode.h
index 7dd4cd22f0..8947192482 100644
--- a/src/vm/precode.h
+++ b/src/vm/precode.h
@@ -170,6 +170,11 @@ public:
align = 8;
#endif // _TARGET_X86_ && HAS_FIXUP_PRECODE
+#if defined(_TARGET_ARM_) && defined(HAS_COMPACT_ENTRYPOINTS)
+ // Precodes have to be aligned to allow fast compact entry points check
+ _ASSERTE (align >= sizeof(void*));
+#endif // _TARGET_ARM_ && HAS_COMPACT_ENTRYPOINTS
+
return align;
}