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

Side by Side Diff: src/crankshaft/arm/lithium-arm.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/code-factory.cc ('k') | src/crankshaft/arm/lithium-codegen-arm.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 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_ARM_LITHIUM_ARM_H_ 5 #ifndef V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_
6 #define V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_ 6 #define V8_CRANKSHAFT_ARM_LITHIUM_ARM_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 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 LOperand* receiver, 526 LOperand* receiver,
527 LOperand* length, 527 LOperand* length,
528 LOperand* elements) { 528 LOperand* elements) {
529 inputs_[0] = function; 529 inputs_[0] = function;
530 inputs_[1] = receiver; 530 inputs_[1] = receiver;
531 inputs_[2] = length; 531 inputs_[2] = length;
532 inputs_[3] = elements; 532 inputs_[3] = elements;
533 } 533 }
534 534
535 DECLARE_CONCRETE_INSTRUCTION(ApplyArguments, "apply-arguments") 535 DECLARE_CONCRETE_INSTRUCTION(ApplyArguments, "apply-arguments")
536 DECLARE_HYDROGEN_ACCESSOR(ApplyArguments)
536 537
537 LOperand* function() { return inputs_[0]; } 538 LOperand* function() { return inputs_[0]; }
538 LOperand* receiver() { return inputs_[1]; } 539 LOperand* receiver() { return inputs_[1]; }
539 LOperand* length() { return inputs_[2]; } 540 LOperand* length() { return inputs_[2]; }
540 LOperand* elements() { return inputs_[3]; } 541 LOperand* elements() { return inputs_[3]; }
541 }; 542 };
542 543
543 544
544 class LAccessArgumentsAt final : public LTemplateInstruction<1, 3, 0> { 545 class LAccessArgumentsAt final : public LTemplateInstruction<1, 3, 0> {
545 public: 546 public:
(...skipping 2125 matching lines...) Expand 10 before | Expand all | Expand 10 after
2671 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2672 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2672 }; 2673 };
2673 2674
2674 #undef DECLARE_HYDROGEN_ACCESSOR 2675 #undef DECLARE_HYDROGEN_ACCESSOR
2675 #undef DECLARE_CONCRETE_INSTRUCTION 2676 #undef DECLARE_CONCRETE_INSTRUCTION
2676 2677
2677 } // namespace internal 2678 } // namespace internal
2678 } // namespace v8 2679 } // namespace v8
2679 2680
2680 #endif // V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_ 2681 #endif // V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « src/code-factory.cc ('k') | src/crankshaft/arm/lithium-codegen-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698