OP_GOTO_16.cpp revision 9a3147c7412f4794434b4c2604aa2ba784867774
1f6c387128427e121477c1b32ad35cdcaa5101ba3The Android Open Source ProjectHANDLE_OPCODE(OP_GOTO_16 /*+AAAA*/) 2f6c387128427e121477c1b32ad35cdcaa5101ba3The Android Open Source Project { 3f6c387128427e121477c1b32ad35cdcaa5101ba3The Android Open Source Project s4 offset = (s2) FETCH(1); /* sign-extend next code unit */ 4f6c387128427e121477c1b32ad35cdcaa5101ba3The Android Open Source Project 5f6c387128427e121477c1b32ad35cdcaa5101ba3The Android Open Source Project if (offset < 0) 6f6c387128427e121477c1b32ad35cdcaa5101ba3The Android Open Source Project ILOGV("|goto/16 -0x%04x", -offset); 7f6c387128427e121477c1b32ad35cdcaa5101ba3The Android Open Source Project else 8f6c387128427e121477c1b32ad35cdcaa5101ba3The Android Open Source Project ILOGV("|goto/16 +0x%04x", offset); 9f6c387128427e121477c1b32ad35cdcaa5101ba3The Android Open Source Project ILOGV("> branch taken"); 10f6c387128427e121477c1b32ad35cdcaa5101ba3The Android Open Source Project if (offset < 0) 119a3147c7412f4794434b4c2604aa2ba784867774buzbee PERIODIC_CHECKS(offset); 12f6c387128427e121477c1b32ad35cdcaa5101ba3The Android Open Source Project FINISH(offset); 13f6c387128427e121477c1b32ad35cdcaa5101ba3The Android Open Source Project } 14f6c387128427e121477c1b32ad35cdcaa5101ba3The Android Open Source ProjectOP_END 15