Ian Rogers | b033c75 | 2011-07-20 12:22:35 -0700 | [diff] [blame] | 1 | // Copyright 2011 Google Inc. All Rights Reserved. |
| 2 | |
| 3 | #ifndef ART_SRC_CONSTANTS_H_ |
| 4 | #define ART_SRC_CONSTANTS_H_ |
| 5 | |
buzbee | c143c55 | 2011-08-20 17:38:58 -0700 | [diff] [blame] | 6 | namespace art { |
| 7 | |
| 8 | enum InstructionSet { |
| 9 | kNone, |
| 10 | kArm, |
| 11 | kThumb2, |
| 12 | kX86 |
| 13 | }; |
| 14 | |
| 15 | } // namespace art |
| 16 | |
Ian Rogers | b033c75 | 2011-07-20 12:22:35 -0700 | [diff] [blame] | 17 | #if defined(__i386__) |
Brian Carlstrom | 578bbdc | 2011-07-21 14:07:47 -0700 | [diff] [blame] | 18 | #include "constants_x86.h" |
Ian Rogers | b033c75 | 2011-07-20 12:22:35 -0700 | [diff] [blame] | 19 | #elif defined(__arm__) |
Brian Carlstrom | 578bbdc | 2011-07-21 14:07:47 -0700 | [diff] [blame] | 20 | #include "constants_arm.h" |
Ian Rogers | b033c75 | 2011-07-20 12:22:35 -0700 | [diff] [blame] | 21 | #endif |
| 22 | |
| 23 | #endif // ART_SRC_CONSTANTS_H_ |