Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(317)

Side by Side Diff: src/crankshaft/arm64/lithium-arm64.h

Issue 1760253003: [crankshaft] Support ES6 tail call elimination. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@tco-crank-2
Patch Set: Addressing comments Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/crankshaft/arm/lithium-codegen-arm.cc ('k') | src/crankshaft/arm64/lithium-codegen-arm64.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ 5 #ifndef V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_
6 #define V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ 6 #define V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_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 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 LOperand* receiver, 626 LOperand* receiver,
627 LOperand* length, 627 LOperand* length,
628 LOperand* elements) { 628 LOperand* elements) {
629 inputs_[0] = function; 629 inputs_[0] = function;
630 inputs_[1] = receiver; 630 inputs_[1] = receiver;
631 inputs_[2] = length; 631 inputs_[2] = length;
632 inputs_[3] = elements; 632 inputs_[3] = elements;
633 } 633 }
634 634
635 DECLARE_CONCRETE_INSTRUCTION(ApplyArguments, "apply-arguments") 635 DECLARE_CONCRETE_INSTRUCTION(ApplyArguments, "apply-arguments")
636 DECLARE_HYDROGEN_ACCESSOR(ApplyArguments)
636 637
637 LOperand* function() { return inputs_[0]; } 638 LOperand* function() { return inputs_[0]; }
638 LOperand* receiver() { return inputs_[1]; } 639 LOperand* receiver() { return inputs_[1]; }
639 LOperand* length() { return inputs_[2]; } 640 LOperand* length() { return inputs_[2]; }
640 LOperand* elements() { return inputs_[3]; } 641 LOperand* elements() { return inputs_[3]; }
641 }; 642 };
642 643
643 644
644 class LArgumentsElements final : public LTemplateInstruction<1, 0, 1> { 645 class LArgumentsElements final : public LTemplateInstruction<1, 0, 1> {
645 public: 646 public:
(...skipping 2397 matching lines...) Expand 10 before | Expand all | Expand 10 after
3043 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 3044 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
3044 }; 3045 };
3045 3046
3046 #undef DECLARE_HYDROGEN_ACCESSOR 3047 #undef DECLARE_HYDROGEN_ACCESSOR
3047 #undef DECLARE_CONCRETE_INSTRUCTION 3048 #undef DECLARE_CONCRETE_INSTRUCTION
3048 3049
3049 } // namespace internal 3050 } // namespace internal
3050 } // namespace v8 3051 } // namespace v8
3051 3052
3052 #endif // V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ 3053 #endif // V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_
OLDNEW
« no previous file with comments | « src/crankshaft/arm/lithium-codegen-arm.cc ('k') | src/crankshaft/arm64/lithium-codegen-arm64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698