| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 21 matching lines...) Expand all Loading... |
| 32 #include "string-stream.h" | 32 #include "string-stream.h" |
| 33 | 33 |
| 34 #if V8_TARGET_ARCH_IA32 | 34 #if V8_TARGET_ARCH_IA32 |
| 35 #include "ia32/lithium-ia32.h" | 35 #include "ia32/lithium-ia32.h" |
| 36 #elif V8_TARGET_ARCH_X64 | 36 #elif V8_TARGET_ARCH_X64 |
| 37 #include "x64/lithium-x64.h" | 37 #include "x64/lithium-x64.h" |
| 38 #elif V8_TARGET_ARCH_ARM | 38 #elif V8_TARGET_ARCH_ARM |
| 39 #include "arm/lithium-arm.h" | 39 #include "arm/lithium-arm.h" |
| 40 #elif V8_TARGET_ARCH_MIPS | 40 #elif V8_TARGET_ARCH_MIPS |
| 41 #include "mips/lithium-mips.h" | 41 #include "mips/lithium-mips.h" |
| 42 #elif V8_TARGET_ARCH_SH4 |
| 43 #include "sh4/lithium-sh4.h" |
| 42 #else | 44 #else |
| 43 #error "Unknown architecture." | 45 #error "Unknown architecture." |
| 44 #endif | 46 #endif |
| 45 | 47 |
| 46 namespace v8 { | 48 namespace v8 { |
| 47 namespace internal { | 49 namespace internal { |
| 48 | 50 |
| 49 static inline LifetimePosition Min(LifetimePosition a, LifetimePosition b) { | 51 static inline LifetimePosition Min(LifetimePosition a, LifetimePosition b) { |
| 50 return a.Value() < b.Value() ? a : b; | 52 return a.Value() < b.Value() ? a : b; |
| 51 } | 53 } |
| (...skipping 2058 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2110 LiveRange* current = live_ranges()->at(i); | 2112 LiveRange* current = live_ranges()->at(i); |
| 2111 if (current != NULL) current->Verify(); | 2113 if (current != NULL) current->Verify(); |
| 2112 } | 2114 } |
| 2113 } | 2115 } |
| 2114 | 2116 |
| 2115 | 2117 |
| 2116 #endif | 2118 #endif |
| 2117 | 2119 |
| 2118 | 2120 |
| 2119 } } // namespace v8::internal | 2121 } } // namespace v8::internal |
| OLD | NEW |