| OLD | NEW |
| 1 // Copyright 2008 the V8 project authors. All rights reserved. | 1 // Copyright 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 18 matching lines...) Expand all Loading... |
| 29 #define V8_REGISTER_ALLOCATOR_H_ | 29 #define V8_REGISTER_ALLOCATOR_H_ |
| 30 | 30 |
| 31 #include "macro-assembler.h" | 31 #include "macro-assembler.h" |
| 32 | 32 |
| 33 #if V8_TARGET_ARCH_IA32 | 33 #if V8_TARGET_ARCH_IA32 |
| 34 #include "ia32/register-allocator-ia32.h" | 34 #include "ia32/register-allocator-ia32.h" |
| 35 #elif V8_TARGET_ARCH_X64 | 35 #elif V8_TARGET_ARCH_X64 |
| 36 #include "x64/register-allocator-x64.h" | 36 #include "x64/register-allocator-x64.h" |
| 37 #elif V8_TARGET_ARCH_ARM | 37 #elif V8_TARGET_ARCH_ARM |
| 38 #include "arm/register-allocator-arm.h" | 38 #include "arm/register-allocator-arm.h" |
| 39 #elif V8_TARGET_ARCH_MIPS |
| 40 #include "mips/register-allocator-mips.h" |
| 39 #else | 41 #else |
| 40 #error Unsupported target architecture. | 42 #error Unsupported target architecture. |
| 41 #endif | 43 #endif |
| 42 | 44 |
| 43 namespace v8 { | 45 namespace v8 { |
| 44 namespace internal { | 46 namespace internal { |
| 45 | 47 |
| 46 | 48 |
| 47 // ------------------------------------------------------------------------- | 49 // ------------------------------------------------------------------------- |
| 48 // Results | 50 // Results |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 } | 288 } |
| 287 | 289 |
| 288 private: | 290 private: |
| 289 CodeGenerator* cgen_; | 291 CodeGenerator* cgen_; |
| 290 RegisterFile registers_; | 292 RegisterFile registers_; |
| 291 }; | 293 }; |
| 292 | 294 |
| 293 } } // namespace v8::internal | 295 } } // namespace v8::internal |
| 294 | 296 |
| 295 #endif // V8_REGISTER_ALLOCATOR_H_ | 297 #endif // V8_REGISTER_ALLOCATOR_H_ |
| OLD | NEW |