| 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_MIPS64_LITHIUM_MIPS_H_ | 5 #ifndef V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_H_ |
| 6 #define V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_H_ | 6 #define V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 DCHECK(instr->Is##type()); \ | 153 DCHECK(instr->Is##type()); \ |
| 154 return reinterpret_cast<L##type*>(instr); \ | 154 return reinterpret_cast<L##type*>(instr); \ |
| 155 } | 155 } |
| 156 | 156 |
| 157 | 157 |
| 158 #define DECLARE_HYDROGEN_ACCESSOR(type) \ | 158 #define DECLARE_HYDROGEN_ACCESSOR(type) \ |
| 159 H##type* hydrogen() const { \ | 159 H##type* hydrogen() const { \ |
| 160 return H##type::cast(hydrogen_value()); \ | 160 return H##type::cast(hydrogen_value()); \ |
| 161 } | 161 } |
| 162 | 162 |
| 163 | |
| 164 class LInstruction : public ZoneObject { | 163 class LInstruction : public ZoneObject { |
| 165 public: | 164 public: |
| 166 LInstruction() | 165 LInstruction() |
| 167 : environment_(NULL), | 166 : environment_(NULL), |
| 168 hydrogen_value_(NULL), | 167 hydrogen_value_(NULL), |
| 169 bit_field_(IsCallBits::encode(false)) { | 168 bit_field_(IsCallBits::encode(false)) { |
| 170 } | 169 } |
| 171 | 170 |
| 172 virtual ~LInstruction() {} | 171 virtual ~LInstruction() {} |
| 173 | 172 |
| (...skipping 2315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2489 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2488 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2490 }; | 2489 }; |
| 2491 | 2490 |
| 2492 #undef DECLARE_HYDROGEN_ACCESSOR | 2491 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2493 #undef DECLARE_CONCRETE_INSTRUCTION | 2492 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2494 | 2493 |
| 2495 } // namespace internal | 2494 } // namespace internal |
| 2496 } // namespace v8 | 2495 } // namespace v8 |
| 2497 | 2496 |
| 2498 #endif // V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_H_ | 2497 #endif // V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_H_ |
| OLD | NEW |