Shih-wei Liao | d1fec81 | 2012-02-13 09:51:10 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2012 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 | |
Shih-wei Liao | d1fec81 | 2012-02-13 09:51:10 -0800 | [diff] [blame] | 17 | #include "dex_file.h" |
Logan Chien | 8342616 | 2011-12-09 09:29:50 +0800 | [diff] [blame] | 18 | #include "logging.h" |
Shih-wei Liao | d1fec81 | 2012-02-13 09:51:10 -0800 | [diff] [blame] | 19 | |
Shih-wei Liao | d1fec81 | 2012-02-13 09:51:10 -0800 | [diff] [blame] | 20 | #include <stdint.h> |
| 21 | |
Shih-wei Liao | d1fec81 | 2012-02-13 09:51:10 -0800 | [diff] [blame] | 22 | namespace art { |
| 23 | |
Logan Chien | 8342616 | 2011-12-09 09:29:50 +0800 | [diff] [blame] | 24 | int oatVRegOffset(const DexFile::CodeItem* code_item, |
Shih-wei Liao | d1fec81 | 2012-02-13 09:51:10 -0800 | [diff] [blame] | 25 | uint32_t core_spills, uint32_t fp_spills, |
| 26 | size_t frame_size, int reg) { |
Logan Chien | 8342616 | 2011-12-09 09:29:50 +0800 | [diff] [blame] | 27 | |
| 28 | // TODO: Remove oatVRegOffset() after we have adapted the OatWriter |
| 29 | // and OatFile. |
| 30 | |
| 31 | UNIMPLEMENTED(WARNING) << "oatVRegOffset() is not and won't be " |
| 32 | << "implemented in LLVM backend"; |
Shih-wei Liao | d1fec81 | 2012-02-13 09:51:10 -0800 | [diff] [blame] | 33 | return 0; |
| 34 | } |
| 35 | |
| 36 | } // namespace art |