| 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 "src/hydrogen.h" | 8 #include "src/hydrogen.h" |
| 9 #include "src/lithium.h" | 9 #include "src/lithium.h" |
| 10 #include "src/lithium-allocator.h" | 10 #include "src/lithium-allocator.h" |
| (...skipping 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1048 | 1048 |
| 1049 | 1049 |
| 1050 class LStringCompareAndBranch final : public LControlInstruction<3, 0> { | 1050 class LStringCompareAndBranch final : public LControlInstruction<3, 0> { |
| 1051 public: | 1051 public: |
| 1052 LStringCompareAndBranch(LOperand* context, LOperand* left, LOperand* right) { | 1052 LStringCompareAndBranch(LOperand* context, LOperand* left, LOperand* right) { |
| 1053 inputs_[0] = context; | 1053 inputs_[0] = context; |
| 1054 inputs_[1] = left; | 1054 inputs_[1] = left; |
| 1055 inputs_[2] = right; | 1055 inputs_[2] = right; |
| 1056 } | 1056 } |
| 1057 | 1057 |
| 1058 LOperand* context() { return inputs_[1]; } | 1058 LOperand* context() { return inputs_[0]; } |
| 1059 LOperand* left() { return inputs_[1]; } | 1059 LOperand* left() { return inputs_[1]; } |
| 1060 LOperand* right() { return inputs_[2]; } | 1060 LOperand* right() { return inputs_[2]; } |
| 1061 | 1061 |
| 1062 DECLARE_CONCRETE_INSTRUCTION(StringCompareAndBranch, | 1062 DECLARE_CONCRETE_INSTRUCTION(StringCompareAndBranch, |
| 1063 "string-compare-and-branch") | 1063 "string-compare-and-branch") |
| 1064 DECLARE_HYDROGEN_ACCESSOR(StringCompareAndBranch) | 1064 DECLARE_HYDROGEN_ACCESSOR(StringCompareAndBranch) |
| 1065 | 1065 |
| 1066 void PrintDataTo(StringStream* stream) override; | 1066 void PrintDataTo(StringStream* stream) override; |
| 1067 | 1067 |
| 1068 Token::Value op() const { return hydrogen()->token(); } | 1068 Token::Value op() const { return hydrogen()->token(); } |
| (...skipping 1812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2881 | 2881 |
| 2882 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2882 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2883 }; | 2883 }; |
| 2884 | 2884 |
| 2885 #undef DECLARE_HYDROGEN_ACCESSOR | 2885 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2886 #undef DECLARE_CONCRETE_INSTRUCTION | 2886 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2887 | 2887 |
| 2888 } } // namespace v8::internal | 2888 } } // namespace v8::internal |
| 2889 | 2889 |
| 2890 #endif // V8_IA32_LITHIUM_IA32_H_ | 2890 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |