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_MIPS_LITHIUM_MIPS_H_ | 5 #ifndef V8_MIPS_LITHIUM_MIPS_H_ |
6 #define V8_MIPS_LITHIUM_MIPS_H_ | 6 #define V8_MIPS_LITHIUM_MIPS_H_ |
7 | 7 |
8 #include "hydrogen.h" | 8 #include "hydrogen.h" |
9 #include "lithium-allocator.h" | 9 #include "lithium-allocator.h" |
10 #include "lithium.h" | 10 #include "lithium.h" |
(...skipping 2312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2323 | 2323 |
2324 LOperand* value() { return inputs_[0]; } | 2324 LOperand* value() { return inputs_[0]; } |
2325 | 2325 |
2326 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") | 2326 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") |
2327 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType) | 2327 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType) |
2328 }; | 2328 }; |
2329 | 2329 |
2330 | 2330 |
2331 class LCheckMaps V8_FINAL : public LTemplateInstruction<0, 1, 0> { | 2331 class LCheckMaps V8_FINAL : public LTemplateInstruction<0, 1, 0> { |
2332 public: | 2332 public: |
2333 explicit LCheckMaps(LOperand* value) { | 2333 explicit LCheckMaps(LOperand* value = NULL) { |
2334 inputs_[0] = value; | 2334 inputs_[0] = value; |
2335 } | 2335 } |
2336 | 2336 |
2337 LOperand* value() { return inputs_[0]; } | 2337 LOperand* value() { return inputs_[0]; } |
2338 | 2338 |
2339 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") | 2339 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") |
2340 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) | 2340 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) |
2341 }; | 2341 }; |
2342 | 2342 |
2343 | 2343 |
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2796 | 2796 |
2797 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2797 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2798 }; | 2798 }; |
2799 | 2799 |
2800 #undef DECLARE_HYDROGEN_ACCESSOR | 2800 #undef DECLARE_HYDROGEN_ACCESSOR |
2801 #undef DECLARE_CONCRETE_INSTRUCTION | 2801 #undef DECLARE_CONCRETE_INSTRUCTION |
2802 | 2802 |
2803 } } // namespace v8::internal | 2803 } } // namespace v8::internal |
2804 | 2804 |
2805 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2805 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |