OLD | NEW |
---|---|
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32. | 5 #include "platform/utils.h" |
Ivan Posva
2012/01/13 23:51:01
Please move this inide the #if defined, only the g
Søren Gjesse
2012/01/16 10:53:00
Done.
| |
6 #include "platform/globals.h" // Needed here to get TARGET_ARCH_IA32. | |
6 #if defined(TARGET_ARCH_IA32) | 7 #if defined(TARGET_ARCH_IA32) |
7 | 8 |
8 #include "vm/disassembler.h" | |
9 | |
10 #include "vm/allocation.h" | 9 #include "vm/allocation.h" |
11 #include "vm/code_index_table.h" | 10 #include "vm/code_index_table.h" |
11 #include "vm/disassembler.h" | |
Ivan Posva
2012/01/13 23:51:01
First line inside the #if defined area.
Søren Gjesse
2012/01/16 10:53:00
Done.
| |
12 #include "vm/heap.h" | 12 #include "vm/heap.h" |
13 #include "vm/os.h" | 13 #include "vm/os.h" |
14 #include "vm/stub_code.h" | 14 #include "vm/stub_code.h" |
15 #include "vm/utils.h" | |
16 | 15 |
17 namespace dart { | 16 namespace dart { |
18 | 17 |
19 // Tables used for decoding of x86 instructions. | 18 // Tables used for decoding of x86 instructions. |
20 enum OperandOrder { | 19 enum OperandOrder { |
21 UNSET_OP_ORDER = 0, | 20 UNSET_OP_ORDER = 0, |
22 REG_OPER_OP_ORDER, | 21 REG_OPER_OP_ORDER, |
23 OPER_REG_OP_ORDER | 22 OPER_REG_OP_ORDER |
24 }; | 23 }; |
25 | 24 |
(...skipping 1550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1576 human_buffer, | 1575 human_buffer, |
1577 sizeof(human_buffer), | 1576 sizeof(human_buffer), |
1578 pc); | 1577 pc); |
1579 pc += instruction_length; | 1578 pc += instruction_length; |
1580 } | 1579 } |
1581 } | 1580 } |
1582 | 1581 |
1583 } // namespace dart | 1582 } // namespace dart |
1584 | 1583 |
1585 #endif // defined TARGET_ARCH_IA32 | 1584 #endif // defined TARGET_ARCH_IA32 |
OLD | NEW |