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 are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // 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 25 matching lines...) Expand all Loading... |
36 #ifndef V8_MIPS_ASSEMBLER_MIPS_H_ | 36 #ifndef V8_MIPS_ASSEMBLER_MIPS_H_ |
37 #define V8_MIPS_ASSEMBLER_MIPS_H_ | 37 #define V8_MIPS_ASSEMBLER_MIPS_H_ |
38 | 38 |
39 #include <stdio.h> | 39 #include <stdio.h> |
40 | 40 |
41 #include <set> | 41 #include <set> |
42 | 42 |
43 #include "src/assembler.h" | 43 #include "src/assembler.h" |
44 #include "src/compiler.h" | 44 #include "src/compiler.h" |
45 #include "src/mips64/constants-mips64.h" | 45 #include "src/mips64/constants-mips64.h" |
46 #include "src/serialize.h" | |
47 | 46 |
48 namespace v8 { | 47 namespace v8 { |
49 namespace internal { | 48 namespace internal { |
50 | 49 |
51 // CPU Registers. | 50 // CPU Registers. |
52 // | 51 // |
53 // 1) We would prefer to use an enum, but enum values are assignment- | 52 // 1) We would prefer to use an enum, but enum values are assignment- |
54 // compatible with int, which has caused code-generation bugs. | 53 // compatible with int, which has caused code-generation bugs. |
55 // | 54 // |
56 // 2) We would prefer to use a class instead of a struct but we don't like | 55 // 2) We would prefer to use a class instead of a struct but we don't like |
(...skipping 1381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1438 class EnsureSpace BASE_EMBEDDED { | 1437 class EnsureSpace BASE_EMBEDDED { |
1439 public: | 1438 public: |
1440 explicit EnsureSpace(Assembler* assembler) { | 1439 explicit EnsureSpace(Assembler* assembler) { |
1441 assembler->CheckBuffer(); | 1440 assembler->CheckBuffer(); |
1442 } | 1441 } |
1443 }; | 1442 }; |
1444 | 1443 |
1445 } } // namespace v8::internal | 1444 } } // namespace v8::internal |
1446 | 1445 |
1447 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1446 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
OLD | NEW |