OLD | NEW |
---|---|
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
42 #if defined(__THUMB_INTERWORK__) || !defined(__arm__) | 42 #if defined(__THUMB_INTERWORK__) || !defined(__arm__) |
43 # define USE_THUMB_INTERWORK 1 | 43 # define USE_THUMB_INTERWORK 1 |
44 #endif | 44 #endif |
45 | 45 |
46 // Simulator should support ARM5 instructions. | 46 // Simulator should support ARM5 instructions. |
47 #if !defined(__arm__) | 47 #if !defined(__arm__) |
48 # define __ARM_ARCH_5__ 1 | 48 # define __ARM_ARCH_5__ 1 |
49 # define __ARM_ARCH_5T__ 1 | 49 # define __ARM_ARCH_5T__ 1 |
50 #endif | 50 #endif |
51 | 51 |
52 #include "disasm.h" | |
Erik Corry
2009/08/27 14:43:05
We don't normally put includes in includes if the
Lasse Reichstein
2009/08/28 09:15:17
Whoop. It's a leftover from something added while
| |
53 | |
52 namespace assembler { | 54 namespace assembler { |
53 namespace arm { | 55 namespace arm { |
54 | 56 |
55 // Defines constants and accessor classes to assemble, disassemble and | 57 // Defines constants and accessor classes to assemble, disassemble and |
56 // simulate ARM instructions. | 58 // simulate ARM instructions. |
57 // | 59 // |
58 // Section references in the code refer to the "ARM Architecture Reference | 60 // Section references in the code refer to the "ARM Architecture Reference |
59 // Manual" from July 2005 (available at http://www.arm.com/miscPDFs/14128.pdf) | 61 // Manual" from July 2005 (available at http://www.arm.com/miscPDFs/14128.pdf) |
60 // | 62 // |
61 // Constants for specific fields are defined in their respective named enums. | 63 // Constants for specific fields are defined in their respective named enums. |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
265 | 267 |
266 private: | 268 private: |
267 // We need to prevent the creation of instances of class Instr. | 269 // We need to prevent the creation of instances of class Instr. |
268 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); | 270 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); |
269 }; | 271 }; |
270 | 272 |
271 | 273 |
272 } } // namespace assembler::arm | 274 } } // namespace assembler::arm |
273 | 275 |
274 #endif // V8_ARM_CONSTANTS_ARM_H_ | 276 #endif // V8_ARM_CONSTANTS_ARM_H_ |
OLD | NEW |