OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 // Types of uncatchable exceptions. | 79 // Types of uncatchable exceptions. |
80 enum UncatchableExceptionType { OUT_OF_MEMORY, TERMINATION }; | 80 enum UncatchableExceptionType { OUT_OF_MEMORY, TERMINATION }; |
81 | 81 |
82 | 82 |
83 #if V8_TARGET_ARCH_IA32 | 83 #if V8_TARGET_ARCH_IA32 |
84 #include "ia32/codegen-ia32.h" | 84 #include "ia32/codegen-ia32.h" |
85 #elif V8_TARGET_ARCH_X64 | 85 #elif V8_TARGET_ARCH_X64 |
86 #include "x64/codegen-x64.h" | 86 #include "x64/codegen-x64.h" |
87 #elif V8_TARGET_ARCH_ARM | 87 #elif V8_TARGET_ARCH_ARM |
88 #include "arm/codegen-arm.h" | 88 #include "arm/codegen-arm.h" |
| 89 #elif V8_TARGET_ARCH_MIPS |
| 90 #include "mips/codegen-mips.h" |
89 #else | 91 #else |
90 #error Unsupported target architecture. | 92 #error Unsupported target architecture. |
91 #endif | 93 #endif |
92 | 94 |
93 #include "register-allocator.h" | 95 #include "register-allocator.h" |
94 | 96 |
95 namespace v8 { | 97 namespace v8 { |
96 namespace internal { | 98 namespace internal { |
97 | 99 |
98 | 100 |
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
541 private: | 543 private: |
542 Major MajorKey() { return ToBoolean; } | 544 Major MajorKey() { return ToBoolean; } |
543 int MinorKey() { return 0; } | 545 int MinorKey() { return 0; } |
544 }; | 546 }; |
545 | 547 |
546 | 548 |
547 } // namespace internal | 549 } // namespace internal |
548 } // namespace v8 | 550 } // namespace v8 |
549 | 551 |
550 #endif // V8_CODEGEN_H_ | 552 #endif // V8_CODEGEN_H_ |
OLD | NEW |