| 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_MIPS_LITHIUM_MIPS_H_ | 5 #ifndef V8_CRANKSHAFT_MIPS_LITHIUM_MIPS_H_ |
| 6 #define V8_CRANKSHAFT_MIPS_LITHIUM_MIPS_H_ | 6 #define V8_CRANKSHAFT_MIPS_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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 DCHECK(instr->Is##type()); \ | 150 DCHECK(instr->Is##type()); \ |
| 151 return reinterpret_cast<L##type*>(instr); \ | 151 return reinterpret_cast<L##type*>(instr); \ |
| 152 } | 152 } |
| 153 | 153 |
| 154 | 154 |
| 155 #define DECLARE_HYDROGEN_ACCESSOR(type) \ | 155 #define DECLARE_HYDROGEN_ACCESSOR(type) \ |
| 156 H##type* hydrogen() const { \ | 156 H##type* hydrogen() const { \ |
| 157 return H##type::cast(hydrogen_value()); \ | 157 return H##type::cast(hydrogen_value()); \ |
| 158 } | 158 } |
| 159 | 159 |
| 160 | |
| 161 class LInstruction : public ZoneObject { | 160 class LInstruction : public ZoneObject { |
| 162 public: | 161 public: |
| 163 LInstruction() | 162 LInstruction() |
| 164 : environment_(NULL), | 163 : environment_(NULL), |
| 165 hydrogen_value_(NULL), | 164 hydrogen_value_(NULL), |
| 166 bit_field_(IsCallBits::encode(false)) { | 165 bit_field_(IsCallBits::encode(false)) { |
| 167 } | 166 } |
| 168 | 167 |
| 169 virtual ~LInstruction() {} | 168 virtual ~LInstruction() {} |
| 170 | 169 |
| (...skipping 2272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2443 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2442 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2444 }; | 2443 }; |
| 2445 | 2444 |
| 2446 #undef DECLARE_HYDROGEN_ACCESSOR | 2445 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2447 #undef DECLARE_CONCRETE_INSTRUCTION | 2446 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2448 | 2447 |
| 2449 } // namespace internal | 2448 } // namespace internal |
| 2450 } // namespace v8 | 2449 } // namespace v8 |
| 2451 | 2450 |
| 2452 #endif // V8_CRANKSHAFT_MIPS_LITHIUM_MIPS_H_ | 2451 #endif // V8_CRANKSHAFT_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |