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

Side by Side Diff: src/crankshaft/ia32/lithium-ia32.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/ia32/lithium-codegen-ia32.cc ('k') | src/crankshaft/mips/lithium-codegen-mips.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_IA32_LITHIUM_IA32_H_ 5 #ifndef V8_CRANKSHAFT_IA32_LITHIUM_IA32_H_
6 #define V8_CRANKSHAFT_IA32_LITHIUM_IA32_H_ 6 #define V8_CRANKSHAFT_IA32_LITHIUM_IA32_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 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 inputs_[2] = length; 530 inputs_[2] = length;
531 inputs_[3] = elements; 531 inputs_[3] = elements;
532 } 532 }
533 533
534 LOperand* function() { return inputs_[0]; } 534 LOperand* function() { return inputs_[0]; }
535 LOperand* receiver() { return inputs_[1]; } 535 LOperand* receiver() { return inputs_[1]; }
536 LOperand* length() { return inputs_[2]; } 536 LOperand* length() { return inputs_[2]; }
537 LOperand* elements() { return inputs_[3]; } 537 LOperand* elements() { return inputs_[3]; }
538 538
539 DECLARE_CONCRETE_INSTRUCTION(ApplyArguments, "apply-arguments") 539 DECLARE_CONCRETE_INSTRUCTION(ApplyArguments, "apply-arguments")
540 DECLARE_HYDROGEN_ACCESSOR(ApplyArguments)
540 }; 541 };
541 542
542 543
543 class LAccessArgumentsAt final : public LTemplateInstruction<1, 3, 0> { 544 class LAccessArgumentsAt final : public LTemplateInstruction<1, 3, 0> {
544 public: 545 public:
545 LAccessArgumentsAt(LOperand* arguments, LOperand* length, LOperand* index) { 546 LAccessArgumentsAt(LOperand* arguments, LOperand* length, LOperand* index) {
546 inputs_[0] = arguments; 547 inputs_[0] = arguments;
547 inputs_[1] = length; 548 inputs_[1] = length;
548 inputs_[2] = index; 549 inputs_[2] = index;
549 } 550 }
(...skipping 2119 matching lines...) Expand 10 before | Expand all | Expand 10 after
2669 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2670 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2670 }; 2671 };
2671 2672
2672 #undef DECLARE_HYDROGEN_ACCESSOR 2673 #undef DECLARE_HYDROGEN_ACCESSOR
2673 #undef DECLARE_CONCRETE_INSTRUCTION 2674 #undef DECLARE_CONCRETE_INSTRUCTION
2674 2675
2675 } // namespace internal 2676 } // namespace internal
2676 } // namespace v8 2677 } // namespace v8
2677 2678
2678 #endif // V8_CRANKSHAFT_IA32_LITHIUM_IA32_H_ 2679 #endif // V8_CRANKSHAFT_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/crankshaft/ia32/lithium-codegen-ia32.cc ('k') | src/crankshaft/mips/lithium-codegen-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698