OLD | NEW |
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
2 // All Rights Reserved. | 2 // All Rights Reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions | 5 // modification, are permitted provided that the following conditions |
6 // are met: | 6 // are met: |
7 // | 7 // |
8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
10 // | 10 // |
(...skipping 27 matching lines...) Expand all Loading... |
38 // Generates user mode instructions for the ARM architecture up to version 5 | 38 // Generates user mode instructions for the ARM architecture up to version 5 |
39 | 39 |
40 #ifndef V8_ARM_ASSEMBLER_ARM_H_ | 40 #ifndef V8_ARM_ASSEMBLER_ARM_H_ |
41 #define V8_ARM_ASSEMBLER_ARM_H_ | 41 #define V8_ARM_ASSEMBLER_ARM_H_ |
42 | 42 |
43 #include <stdio.h> | 43 #include <stdio.h> |
44 #include <vector> | 44 #include <vector> |
45 | 45 |
46 #include "src/arm/constants-arm.h" | 46 #include "src/arm/constants-arm.h" |
47 #include "src/assembler.h" | 47 #include "src/assembler.h" |
48 #include "src/compiler.h" | |
49 | 48 |
50 namespace v8 { | 49 namespace v8 { |
51 namespace internal { | 50 namespace internal { |
52 | 51 |
53 // clang-format off | 52 // clang-format off |
54 #define GENERAL_REGISTERS(V) \ | 53 #define GENERAL_REGISTERS(V) \ |
55 V(r0) V(r1) V(r2) V(r3) V(r4) V(r5) V(r6) V(r7) \ | 54 V(r0) V(r1) V(r2) V(r3) V(r4) V(r5) V(r6) V(r7) \ |
56 V(r8) V(r9) V(r10) V(fp) V(ip) V(sp) V(lr) V(pc) | 55 V(r8) V(r9) V(r10) V(fp) V(ip) V(sp) V(lr) V(pc) |
57 | 56 |
58 #define ALLOCATABLE_GENERAL_REGISTERS(V) \ | 57 #define ALLOCATABLE_GENERAL_REGISTERS(V) \ |
(...skipping 1563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1622 explicit EnsureSpace(Assembler* assembler) { | 1621 explicit EnsureSpace(Assembler* assembler) { |
1623 assembler->CheckBuffer(); | 1622 assembler->CheckBuffer(); |
1624 } | 1623 } |
1625 }; | 1624 }; |
1626 | 1625 |
1627 | 1626 |
1628 } // namespace internal | 1627 } // namespace internal |
1629 } // namespace v8 | 1628 } // namespace v8 |
1630 | 1629 |
1631 #endif // V8_ARM_ASSEMBLER_ARM_H_ | 1630 #endif // V8_ARM_ASSEMBLER_ARM_H_ |
OLD | NEW |