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 28 matching lines...) Expand all Loading... |
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" | 48 #include "src/compiler.h" |
49 #include "src/serialize.h" | |
50 | 49 |
51 namespace v8 { | 50 namespace v8 { |
52 namespace internal { | 51 namespace internal { |
53 | 52 |
54 // CPU Registers. | 53 // CPU Registers. |
55 // | 54 // |
56 // 1) We would prefer to use an enum, but enum values are assignment- | 55 // 1) We would prefer to use an enum, but enum values are assignment- |
57 // compatible with int, which has caused code-generation bugs. | 56 // compatible with int, which has caused code-generation bugs. |
58 // | 57 // |
59 // 2) We would prefer to use a class instead of a struct but we don't like | 58 // 2) We would prefer to use a class instead of a struct but we don't like |
(...skipping 1629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1689 public: | 1688 public: |
1690 explicit EnsureSpace(Assembler* assembler) { | 1689 explicit EnsureSpace(Assembler* assembler) { |
1691 assembler->CheckBuffer(); | 1690 assembler->CheckBuffer(); |
1692 } | 1691 } |
1693 }; | 1692 }; |
1694 | 1693 |
1695 | 1694 |
1696 } } // namespace v8::internal | 1695 } } // namespace v8::internal |
1697 | 1696 |
1698 #endif // V8_ARM_ASSEMBLER_ARM_H_ | 1697 #endif // V8_ARM_ASSEMBLER_ARM_H_ |
OLD | NEW |