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_X64_LITHIUM_X64_H_ | 5 #ifndef V8_X64_LITHIUM_X64_H_ |
6 #define V8_X64_LITHIUM_X64_H_ | 6 #define V8_X64_LITHIUM_X64_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 2320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2331 | 2331 |
2332 LOperand* value() { return inputs_[0]; } | 2332 LOperand* value() { return inputs_[0]; } |
2333 | 2333 |
2334 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") | 2334 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") |
2335 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType) | 2335 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType) |
2336 }; | 2336 }; |
2337 | 2337 |
2338 | 2338 |
2339 class LCheckMaps V8_FINAL : public LTemplateInstruction<0, 1, 0> { | 2339 class LCheckMaps V8_FINAL : public LTemplateInstruction<0, 1, 0> { |
2340 public: | 2340 public: |
2341 explicit LCheckMaps(LOperand* value) { | 2341 explicit LCheckMaps(LOperand* value = NULL) { |
2342 inputs_[0] = value; | 2342 inputs_[0] = value; |
2343 } | 2343 } |
2344 | 2344 |
2345 LOperand* value() { return inputs_[0]; } | 2345 LOperand* value() { return inputs_[0]; } |
2346 | 2346 |
2347 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") | 2347 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") |
2348 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) | 2348 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) |
2349 }; | 2349 }; |
2350 | 2350 |
2351 | 2351 |
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2810 | 2810 |
2811 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2811 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2812 }; | 2812 }; |
2813 | 2813 |
2814 #undef DECLARE_HYDROGEN_ACCESSOR | 2814 #undef DECLARE_HYDROGEN_ACCESSOR |
2815 #undef DECLARE_CONCRETE_INSTRUCTION | 2815 #undef DECLARE_CONCRETE_INSTRUCTION |
2816 | 2816 |
2817 } } // namespace v8::int | 2817 } } // namespace v8::int |
2818 | 2818 |
2819 #endif // V8_X64_LITHIUM_X64_H_ | 2819 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |