Home | History | Annotate | Download | only in ia32
      1 /*
      2  * Copyright (C) 2010 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 #define _CODEGEN_C
     17 #define _IA32
     18 
     19 #include "Dalvik.h"
     20 #include "interp/InterpDefs.h"
     21 #include "libdex/DexOpcodes.h"
     22 #include "compiler/CompilerInternals.h"
     23 #include "compiler/codegen/x86/X86LIR.h"
     24 #include "mterp/common/FindInterface.h"
     25 //#include "compiler/codegen/x86/Ralloc.h"
     26 #include "compiler/codegen/x86/Codegen.h"
     27 #include "compiler/Loop.h"
     28 #include "ArchVariant.h"
     29 
     30 /* Architectural independent building blocks */
     31 //#include "../CodegenCommon.cpp"
     32 
     33 /* Architectural independent building blocks */
     34 //#include "../Thumb/Factory.cpp"
     35 /* Factory utilities dependent on arch-specific features */
     36 //#include "../CodegenFactory.cpp"
     37 
     38 /* ia32 register allocation */
     39 //#include "../ia32/Ralloc.cpp"
     40 
     41 /* MIR2LIR dispatcher and architectural independent codegen routines */
     42 #include "../CodegenDriver.cpp"
     43 
     44 /* Architecture manifest */
     45 #include "ArchVariant.cpp"
     46