| 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_X87_LITHIUM_X87_H_ | 5 #ifndef V8_CRANKSHAFT_X87_LITHIUM_X87_H_ |
| 6 #define V8_CRANKSHAFT_X87_LITHIUM_X87_H_ | 6 #define V8_CRANKSHAFT_X87_LITHIUM_X87_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 2139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2150 inputs_[3] = key; | 2150 inputs_[3] = key; |
| 2151 inputs_[4] = current_capacity; | 2151 inputs_[4] = current_capacity; |
| 2152 } | 2152 } |
| 2153 | 2153 |
| 2154 LOperand* context() { return inputs_[0]; } | 2154 LOperand* context() { return inputs_[0]; } |
| 2155 LOperand* object() { return inputs_[1]; } | 2155 LOperand* object() { return inputs_[1]; } |
| 2156 LOperand* elements() { return inputs_[2]; } | 2156 LOperand* elements() { return inputs_[2]; } |
| 2157 LOperand* key() { return inputs_[3]; } | 2157 LOperand* key() { return inputs_[3]; } |
| 2158 LOperand* current_capacity() { return inputs_[4]; } | 2158 LOperand* current_capacity() { return inputs_[4]; } |
| 2159 | 2159 |
| 2160 bool ClobbersDoubleRegisters(Isolate* isolate) const override { return true; } |
| 2161 |
| 2160 DECLARE_HYDROGEN_ACCESSOR(MaybeGrowElements) | 2162 DECLARE_HYDROGEN_ACCESSOR(MaybeGrowElements) |
| 2161 DECLARE_CONCRETE_INSTRUCTION(MaybeGrowElements, "maybe-grow-elements") | 2163 DECLARE_CONCRETE_INSTRUCTION(MaybeGrowElements, "maybe-grow-elements") |
| 2162 }; | 2164 }; |
| 2163 | 2165 |
| 2164 | 2166 |
| 2165 class LStringAdd final : public LTemplateInstruction<1, 3, 0> { | 2167 class LStringAdd final : public LTemplateInstruction<1, 3, 0> { |
| 2166 public: | 2168 public: |
| 2167 LStringAdd(LOperand* context, LOperand* left, LOperand* right) { | 2169 LStringAdd(LOperand* context, LOperand* left, LOperand* right) { |
| 2168 inputs_[0] = context; | 2170 inputs_[0] = context; |
| 2169 inputs_[1] = left; | 2171 inputs_[1] = left; |
| (...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2643 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2645 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2644 }; | 2646 }; |
| 2645 | 2647 |
| 2646 #undef DECLARE_HYDROGEN_ACCESSOR | 2648 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2647 #undef DECLARE_CONCRETE_INSTRUCTION | 2649 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2648 | 2650 |
| 2649 } // namespace internal | 2651 } // namespace internal |
| 2650 } // namespace v8 | 2652 } // namespace v8 |
| 2651 | 2653 |
| 2652 #endif // V8_CRANKSHAFT_X87_LITHIUM_X87_H_ | 2654 #endif // V8_CRANKSHAFT_X87_LITHIUM_X87_H_ |
| OLD | NEW |