blob: 7507b2651e9cc896bcd7cf07524c57ce5e664328 [file] [log] [blame]
Shih-wei Liaod1fec812012-02-13 09:51:10 -08001/*
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 Liaod1fec812012-02-13 09:51:10 -080017#include "dex_file.h"
Logan Chien83426162011-12-09 09:29:50 +080018#include "logging.h"
Shih-wei Liaod1fec812012-02-13 09:51:10 -080019
Shih-wei Liaod1fec812012-02-13 09:51:10 -080020#include <stdint.h>
21
Shih-wei Liaod1fec812012-02-13 09:51:10 -080022namespace art {
23
Logan Chien83426162011-12-09 09:29:50 +080024int oatVRegOffset(const DexFile::CodeItem* code_item,
Shih-wei Liaod1fec812012-02-13 09:51:10 -080025 uint32_t core_spills, uint32_t fp_spills,
26 size_t frame_size, int reg) {
Logan Chien83426162011-12-09 09:29:50 +080027
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 Liaod1fec812012-02-13 09:51:10 -080033 return 0;
34}
35
36} // namespace art