Home | History | Annotate | Download | only in mterp
      1 # Copyright (C) 2008 The Android Open Source Project
      2 #
      3 # Licensed under the Apache License, Version 2.0 (the "License");
      4 # you may not use this file except in compliance with the License.
      5 # You may obtain a copy of the License at
      6 #
      7 #      http://www.apache.org/licenses/LICENSE-2.0
      8 #
      9 # Unless required by applicable law or agreed to in writing, software
     10 # distributed under the License is distributed on an "AS IS" BASIS,
     11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     12 # See the License for the specific language governing permissions and
     13 # limitations under the License.
     14 
     15 #
     16 # Configuration for "portdbg" target, a/k/a the portable interpreter with
     17 # debugging enabled.
     18 #
     19 
     20 #handler-size 64
     21 
     22 # C file header and basic definitions
     23 import c/header.c
     24 
     25 # simple def to specify the "debug" interp
     26 import portable/portdbg.c
     27 
     28 # C pre-processor defines for stub C instructions
     29 import portable/stubdefs.c
     30 
     31 # common defs for the C opcodes
     32 import c/opcommon.c
     33 
     34 # debug-only code
     35 import portable/debug.c
     36 
     37 # entry point
     38 import portable/entry.c
     39 
     40 # opcode list; argument to op-start is default directory
     41 op-start c
     42     # concatenate all C implementations
     43 op-end
     44 
     45 # "helper" code
     46 import c/gotoTargets.c
     47 
     48 # finish
     49 import portable/enddefs.c
     50