Fix Vmap table size
Consistently use 16 bits to store Dalvik vreg number.
Change-Id: I6d21c0ed7011e5defaa45571951ff7608d0ce80e
diff --git a/src/compiler/Frontend.cc b/src/compiler/Frontend.cc
index ebbd72f..be3a605 100644
--- a/src/compiler/Frontend.cc
+++ b/src/compiler/Frontend.cc
@@ -907,7 +907,7 @@
reinterpret_cast<const int32_t*>(&cUnit.mappingTable[0]),
mapping_table->GetLength() * sizeof(cUnit.mappingTable[0]));
// Add a marker to take place of lr
- cUnit.coreVmapTable.push_back(-1);
+ cUnit.coreVmapTable.push_back(INVALID_VREG);
// Combine vmap tables - core regs, then fp regs
for (uint32_t i = 0; i < cUnit.fpVmapTable.size(); i++) {
cUnit.coreVmapTable.push_back(cUnit.fpVmapTable[i]);