| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 #ifndef V8_LITHIUM_ALLOCATOR_INL_H_ | 28 #ifndef V8_LITHIUM_ALLOCATOR_INL_H_ |
| 29 #define V8_LITHIUM_ALLOCATOR_INL_H_ | 29 #define V8_LITHIUM_ALLOCATOR_INL_H_ |
| 30 | 30 |
| 31 #include "lithium-allocator.h" | 31 #include "lithium-allocator.h" |
| 32 | 32 |
| 33 #if V8_TARGET_ARCH_IA32 | 33 #if V8_TARGET_ARCH_IA32 |
| 34 #include "ia32/lithium-ia32.h" | 34 #include "ia32/lithium-ia32.h" |
| 35 #elif V8_TARGET_ARCH_X64 | 35 #elif V8_TARGET_ARCH_X64 |
| 36 #include "x64/lithium-x64.h" | 36 #include "x64/lithium-x64.h" |
| 37 #elif V8_TARGET_ARCH_A64 | |
| 38 #include "a64/lithium-a64.h" | |
| 39 #elif V8_TARGET_ARCH_ARM | 37 #elif V8_TARGET_ARCH_ARM |
| 40 #include "arm/lithium-arm.h" | 38 #include "arm/lithium-arm.h" |
| 41 #elif V8_TARGET_ARCH_MIPS | 39 #elif V8_TARGET_ARCH_MIPS |
| 42 #include "mips/lithium-mips.h" | 40 #include "mips/lithium-mips.h" |
| 43 #else | 41 #else |
| 44 #error "Unknown architecture." | 42 #error "Unknown architecture." |
| 45 #endif | 43 #endif |
| 46 | 44 |
| 47 namespace v8 { | 45 namespace v8 { |
| 48 namespace internal { | 46 namespace internal { |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 ASSERT(range->Kind() == GENERAL_REGISTERS); | 152 ASSERT(range->Kind() == GENERAL_REGISTERS); |
| 155 assigned_registers_->Add(reg); | 153 assigned_registers_->Add(reg); |
| 156 } | 154 } |
| 157 range->set_assigned_register(reg, chunk()->zone()); | 155 range->set_assigned_register(reg, chunk()->zone()); |
| 158 } | 156 } |
| 159 | 157 |
| 160 | 158 |
| 161 } } // namespace v8::internal | 159 } } // namespace v8::internal |
| 162 | 160 |
| 163 #endif // V8_LITHIUM_ALLOCATOR_INL_H_ | 161 #endif // V8_LITHIUM_ALLOCATOR_INL_H_ |
| OLD | NEW |