Enable all JNI internal compiler tests on the host.
(cherry picked from commit abda43c90f70963909128c1cc495190d60fd8372)
Change-Id: I0a7fc96e84dacf34108551271760aae13d5ee010
diff --git a/src/compiled_method.cc b/src/compiled_method.cc
index f718991..bf88880 100644
--- a/src/compiled_method.cc
+++ b/src/compiled_method.cc
@@ -35,9 +35,7 @@
: instruction_set_(instruction_set), frame_size_in_bytes_(frame_size_in_bytes),
core_spill_mask_(core_spill_mask), fp_spill_mask_(fp_spill_mask) {
CHECK_NE(code.size(), 0U);
- if (instruction_set != kX86) {
- CHECK_GE(vmap_table.size(), 1U); // should always contain an entry for LR
- }
+ CHECK_GE(vmap_table.size(), 1U); // should always contain an entry for LR
DCHECK_EQ(vmap_table.size(),
static_cast<uint32_t>(__builtin_popcount(core_spill_mask)
+ __builtin_popcount(fp_spill_mask)));