diff options
author | Shih-wei Liao <sliao@google.com> | 2012-06-12 05:55:00 -0700 |
---|---|---|
committer | Shih-wei Liao <sliao@google.com> | 2012-09-15 04:15:17 -0700 |
commit | 21d28f510eb590f52810c83f1f3f37fe5f4adf46 (patch) | |
tree | f937b4d39aab322541b9b83cc5dd59d8e3f2fddd /src/greenland/mips | |
parent | 0967a25d1482d8f7b4a26c5926263e7ffa63189f (diff) | |
download | art-21d28f510eb590f52810c83f1f3f37fe5f4adf46.zip art-21d28f510eb590f52810c83f1f3f37fe5f4adf46.tar.gz art-21d28f510eb590f52810c83f1f3f37fe5f4adf46.tar.bz2 |
GBC Expander. Removed lir.
Change-Id: If8d13e36f1e6d82c2a7f7bfec62b8fb41fd8cdaa
Diffstat (limited to 'src/greenland/mips')
-rw-r--r-- | src/greenland/mips/mips_codegen_machine.h | 28 | ||||
-rw-r--r-- | src/greenland/mips/mips_lir.def | 18 |
2 files changed, 43 insertions, 3 deletions
diff --git a/src/greenland/mips/mips_codegen_machine.h b/src/greenland/mips/mips_codegen_machine.h index e3412e9..c9f0abf 100644 --- a/src/greenland/mips/mips_codegen_machine.h +++ b/src/greenland/mips/mips_codegen_machine.h @@ -29,9 +29,27 @@ class MipsCodeGenMachine : public TargetCodeGenMachine { MipsCodeGenMachine(); virtual ~MipsCodeGenMachine(); - virtual TargetLIREmitter* CreateLIREmitter(const llvm::Function& func, - const OatCompilationUnit& cunit, - DexLang::Context& dex_lang_ctx) { + virtual TargetLIREmitter* CreateLIREmitter() { + return NULL; + } + + virtual const TargetDataLayout* GetDataLayout() const { + return NULL; + } + + virtual const TargetLIRInfo* GetLIRInfo() const { + return NULL; + } + + virtual const TargetRegisterInfo* GetRegisterInfo() const { + return NULL; + } + + virtual const char* GetConditionCodeName(unsigned cond) const { + return NULL; + } + + virtual TargetLIRBuilder* CreateLIRBuilder() { return NULL; } @@ -42,6 +60,10 @@ class MipsCodeGenMachine : public TargetCodeGenMachine { virtual TargetAssembler* GetAssembler() { return NULL; } + + virtual std::string PrettyTargeteLIR(const LIR& lir) const { + return ""; + } }; } // namespace greenland diff --git a/src/greenland/mips/mips_lir.def b/src/greenland/mips/mips_lir.def new file mode 100644 index 0000000..0741f1b --- /dev/null +++ b/src/greenland/mips/mips_lir.def @@ -0,0 +1,18 @@ +/* + * Copyright (C) 2012 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include "greenland/target_lir.def" +#include "greenland/clear_target_lir.def" |