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 20 matching lines...) Expand all Loading... |
31 // The original source code covered by the above license above has been | 31 // The original source code covered by the above license above has been |
32 // modified significantly by Google Inc. | 32 // modified significantly by Google Inc. |
33 // Copyright 2012 the V8 project authors. All rights reserved. | 33 // Copyright 2012 the V8 project authors. All rights reserved. |
34 | 34 |
35 | 35 |
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 "assembler.h" | 41 #include "src/assembler.h" |
42 #include "constants-mips.h" | 42 #include "src/mips/constants-mips.h" |
43 #include "serialize.h" | 43 #include "src/serialize.h" |
44 | 44 |
45 namespace v8 { | 45 namespace v8 { |
46 namespace internal { | 46 namespace internal { |
47 | 47 |
48 // CPU Registers. | 48 // CPU Registers. |
49 // | 49 // |
50 // 1) We would prefer to use an enum, but enum values are assignment- | 50 // 1) We would prefer to use an enum, but enum values are assignment- |
51 // compatible with int, which has caused code-generation bugs. | 51 // compatible with int, which has caused code-generation bugs. |
52 // | 52 // |
53 // 2) We would prefer to use a class instead of a struct but we don't like | 53 // 2) We would prefer to use a class instead of a struct but we don't like |
(...skipping 1180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1234 class EnsureSpace BASE_EMBEDDED { | 1234 class EnsureSpace BASE_EMBEDDED { |
1235 public: | 1235 public: |
1236 explicit EnsureSpace(Assembler* assembler) { | 1236 explicit EnsureSpace(Assembler* assembler) { |
1237 assembler->CheckBuffer(); | 1237 assembler->CheckBuffer(); |
1238 } | 1238 } |
1239 }; | 1239 }; |
1240 | 1240 |
1241 } } // namespace v8::internal | 1241 } } // namespace v8::internal |
1242 | 1242 |
1243 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1243 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
OLD | NEW |