| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_ARM64_LITHIUM_ARM64_H_ | 5 #ifndef V8_ARM64_LITHIUM_ARM64_H_ |
| 6 #define V8_ARM64_LITHIUM_ARM64_H_ | 6 #define V8_ARM64_LITHIUM_ARM64_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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 // Iterator support. | 311 // Iterator support. |
| 312 int InputCount() FINAL { return I; } | 312 int InputCount() FINAL { return I; } |
| 313 LOperand* InputAt(int i) FINAL { return inputs_[i]; } | 313 LOperand* InputAt(int i) FINAL { return inputs_[i]; } |
| 314 | 314 |
| 315 int TempCount() FINAL { return T; } | 315 int TempCount() FINAL { return T; } |
| 316 LOperand* TempAt(int i) FINAL { return temps_[i]; } | 316 LOperand* TempAt(int i) FINAL { return temps_[i]; } |
| 317 }; | 317 }; |
| 318 | 318 |
| 319 | 319 |
| 320 class LTailCallThroughMegamorphicCache FINAL | 320 class LTailCallThroughMegamorphicCache FINAL |
| 321 : public LTemplateInstruction<0, 5, 0> { | 321 : public LTemplateInstruction<0, 3, 0> { |
| 322 public: | 322 public: |
| 323 LTailCallThroughMegamorphicCache(LOperand* context, LOperand* receiver, | 323 LTailCallThroughMegamorphicCache(LOperand* context, LOperand* receiver, |
| 324 LOperand* name, LOperand* slot, | 324 LOperand* name) { |
| 325 LOperand* vector) { | |
| 326 inputs_[0] = context; | 325 inputs_[0] = context; |
| 327 inputs_[1] = receiver; | 326 inputs_[1] = receiver; |
| 328 inputs_[2] = name; | 327 inputs_[2] = name; |
| 329 inputs_[3] = slot; | |
| 330 inputs_[4] = vector; | |
| 331 } | 328 } |
| 332 | 329 |
| 333 LOperand* context() { return inputs_[0]; } | 330 LOperand* context() { return inputs_[0]; } |
| 334 LOperand* receiver() { return inputs_[1]; } | 331 LOperand* receiver() { return inputs_[1]; } |
| 335 LOperand* name() { return inputs_[2]; } | 332 LOperand* name() { return inputs_[2]; } |
| 336 LOperand* slot() { return inputs_[3]; } | |
| 337 LOperand* vector() { return inputs_[4]; } | |
| 338 | 333 |
| 339 DECLARE_CONCRETE_INSTRUCTION(TailCallThroughMegamorphicCache, | 334 DECLARE_CONCRETE_INSTRUCTION(TailCallThroughMegamorphicCache, |
| 340 "tail-call-through-megamorphic-cache") | 335 "tail-call-through-megamorphic-cache") |
| 341 DECLARE_HYDROGEN_ACCESSOR(TailCallThroughMegamorphicCache) | 336 DECLARE_HYDROGEN_ACCESSOR(TailCallThroughMegamorphicCache) |
| 342 }; | 337 }; |
| 343 | 338 |
| 344 | 339 |
| 345 class LUnknownOSRValue FINAL : public LTemplateInstruction<1, 0, 0> { | 340 class LUnknownOSRValue FINAL : public LTemplateInstruction<1, 0, 0> { |
| 346 public: | 341 public: |
| 347 bool HasInterestingComment(LCodeGen* gen) const OVERRIDE { return false; } | 342 bool HasInterestingComment(LCodeGen* gen) const OVERRIDE { return false; } |
| (...skipping 2871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3219 | 3214 |
| 3220 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 3215 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 3221 }; | 3216 }; |
| 3222 | 3217 |
| 3223 #undef DECLARE_HYDROGEN_ACCESSOR | 3218 #undef DECLARE_HYDROGEN_ACCESSOR |
| 3224 #undef DECLARE_CONCRETE_INSTRUCTION | 3219 #undef DECLARE_CONCRETE_INSTRUCTION |
| 3225 | 3220 |
| 3226 } } // namespace v8::internal | 3221 } } // namespace v8::internal |
| 3227 | 3222 |
| 3228 #endif // V8_ARM64_LITHIUM_ARM64_H_ | 3223 #endif // V8_ARM64_LITHIUM_ARM64_H_ |
| OLD | NEW |