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_IA32_LITHIUM_IA32_H_ | 5 #ifndef V8_IA32_LITHIUM_IA32_H_ |
6 #define V8_IA32_LITHIUM_IA32_H_ | 6 #define V8_IA32_LITHIUM_IA32_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 2381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2392 LOperand* value() { return inputs_[0]; } | 2392 LOperand* value() { return inputs_[0]; } |
2393 LOperand* temp() { return temps_[0]; } | 2393 LOperand* temp() { return temps_[0]; } |
2394 | 2394 |
2395 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") | 2395 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") |
2396 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType) | 2396 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType) |
2397 }; | 2397 }; |
2398 | 2398 |
2399 | 2399 |
2400 class LCheckMaps V8_FINAL : public LTemplateInstruction<0, 1, 0> { | 2400 class LCheckMaps V8_FINAL : public LTemplateInstruction<0, 1, 0> { |
2401 public: | 2401 public: |
2402 explicit LCheckMaps(LOperand* value) { | 2402 explicit LCheckMaps(LOperand* value = NULL) { |
2403 inputs_[0] = value; | 2403 inputs_[0] = value; |
2404 } | 2404 } |
2405 | 2405 |
2406 LOperand* value() { return inputs_[0]; } | 2406 LOperand* value() { return inputs_[0]; } |
2407 | 2407 |
2408 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") | 2408 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") |
2409 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) | 2409 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) |
2410 }; | 2410 }; |
2411 | 2411 |
2412 | 2412 |
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2882 | 2882 |
2883 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2883 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2884 }; | 2884 }; |
2885 | 2885 |
2886 #undef DECLARE_HYDROGEN_ACCESSOR | 2886 #undef DECLARE_HYDROGEN_ACCESSOR |
2887 #undef DECLARE_CONCRETE_INSTRUCTION | 2887 #undef DECLARE_CONCRETE_INSTRUCTION |
2888 | 2888 |
2889 } } // namespace v8::internal | 2889 } } // namespace v8::internal |
2890 | 2890 |
2891 #endif // V8_IA32_LITHIUM_IA32_H_ | 2891 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |