1/* 2 * Copyright (C) 2018 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17#if ASM_DEFINE_INCLUDE_DEPENDENCIES 18#include "interpreter/shadow_frame.h" 19#endif 20 21ASM_DEFINE(SHADOWFRAME_CACHED_HOTNESS_COUNTDOWN_OFFSET, 22 art::ShadowFrame::CachedHotnessCountdownOffset()) 23ASM_DEFINE(SHADOWFRAME_DEX_INSTRUCTIONS_OFFSET, 24 art::ShadowFrame::DexInstructionsOffset()) 25ASM_DEFINE(SHADOWFRAME_DEX_PC_OFFSET, 26 art::ShadowFrame::DexPCOffset()) 27ASM_DEFINE(SHADOWFRAME_DEX_PC_PTR_OFFSET, 28 art::ShadowFrame::DexPCPtrOffset()) 29ASM_DEFINE(SHADOWFRAME_HOTNESS_COUNTDOWN_OFFSET, 30 art::ShadowFrame::HotnessCountdownOffset()) 31ASM_DEFINE(SHADOWFRAME_LINK_OFFSET, 32 art::ShadowFrame::LinkOffset()) 33ASM_DEFINE(SHADOWFRAME_LOCK_COUNT_DATA_OFFSET, 34 art::ShadowFrame::LockCountDataOffset()) 35ASM_DEFINE(SHADOWFRAME_METHOD_OFFSET, 36 art::ShadowFrame::MethodOffset()) 37ASM_DEFINE(SHADOWFRAME_NUMBER_OF_VREGS_OFFSET, 38 art::ShadowFrame::NumberOfVRegsOffset()) 39ASM_DEFINE(SHADOWFRAME_RESULT_REGISTER_OFFSET, 40 art::ShadowFrame::ResultRegisterOffset()) 41ASM_DEFINE(SHADOWFRAME_VREGS_OFFSET, 42 art::ShadowFrame::VRegsOffset()) 43