blob: e3412e9321508198bc896b6b1dbd3253b47fbe26 [file] [log] [blame]
Shih-wei Liaoe94d9b22012-05-22 09:01:24 -07001/*
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
17#ifndef ART_SRC_GREENLAND_MIPS_CODEGEN_MACHINE_H_
18#define ART_SRC_GREENLAND_MIPS_CODEGEN_MACHINE_H_
19
20#include "greenland/target_codegen_machine.h"
21
22namespace art {
23namespace greenland {
24
25class MipsCodeGenMachine : public TargetCodeGenMachine {
26 private:
27
28 public:
29 MipsCodeGenMachine();
30 virtual ~MipsCodeGenMachine();
31
32 virtual TargetLIREmitter* CreateLIREmitter(const llvm::Function& func,
33 const OatCompilationUnit& cunit,
34 DexLang::Context& dex_lang_ctx) {
35 return NULL;
36 }
37
38 virtual RegisterAllocator* GetRegisterAllocator() {
39 return NULL;
40 }
41
42 virtual TargetAssembler* GetAssembler() {
43 return NULL;
44 }
45};
46
47} // namespace greenland
48} // namespace art
49
50#endif // ART_SRC_GREENLAND_MIPS_CODEGEN_MACHINE_H_