| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_ | 5 #ifndef V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_ |
| 6 #define V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_ | 6 #define V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_ |
| 7 | 7 |
| 8 #include "src/crankshaft/hydrogen.h" | 8 #include "src/crankshaft/hydrogen.h" |
| 9 #include "src/crankshaft/lithium.h" | 9 #include "src/crankshaft/lithium.h" |
| 10 #include "src/crankshaft/lithium-allocator.h" | 10 #include "src/crankshaft/lithium-allocator.h" |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 DCHECK(instr->Is##type()); \ | 152 DCHECK(instr->Is##type()); \ |
| 153 return reinterpret_cast<L##type*>(instr); \ | 153 return reinterpret_cast<L##type*>(instr); \ |
| 154 } | 154 } |
| 155 | 155 |
| 156 | 156 |
| 157 #define DECLARE_HYDROGEN_ACCESSOR(type) \ | 157 #define DECLARE_HYDROGEN_ACCESSOR(type) \ |
| 158 H##type* hydrogen() const { \ | 158 H##type* hydrogen() const { \ |
| 159 return H##type::cast(hydrogen_value()); \ | 159 return H##type::cast(hydrogen_value()); \ |
| 160 } | 160 } |
| 161 | 161 |
| 162 | |
| 163 class LInstruction : public ZoneObject { | 162 class LInstruction : public ZoneObject { |
| 164 public: | 163 public: |
| 165 LInstruction() | 164 LInstruction() |
| 166 : environment_(NULL), | 165 : environment_(NULL), |
| 167 hydrogen_value_(NULL), | 166 hydrogen_value_(NULL), |
| 168 bit_field_(IsCallBits::encode(false)) { | 167 bit_field_(IsCallBits::encode(false)) { |
| 169 } | 168 } |
| 170 | 169 |
| 171 virtual ~LInstruction() {} | 170 virtual ~LInstruction() {} |
| 172 | 171 |
| (...skipping 2312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2485 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2484 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2486 }; | 2485 }; |
| 2487 | 2486 |
| 2488 #undef DECLARE_HYDROGEN_ACCESSOR | 2487 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2489 #undef DECLARE_CONCRETE_INSTRUCTION | 2488 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2490 | 2489 |
| 2491 } // namespace internal | 2490 } // namespace internal |
| 2492 } // namespace v8 | 2491 } // namespace v8 |
| 2493 | 2492 |
| 2494 #endif // V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_ | 2493 #endif // V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |