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

Side by Side Diff: src/crankshaft/x64/lithium-x64.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/x64/lithium-codegen-x64.cc ('k') | src/ia32/builtins-ia32.cc » ('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_X64_LITHIUM_X64_H_ 5 #ifndef V8_CRANKSHAFT_X64_LITHIUM_X64_H_
6 #define V8_CRANKSHAFT_X64_LITHIUM_X64_H_ 6 #define V8_CRANKSHAFT_X64_LITHIUM_X64_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 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 inputs_[2] = length; 535 inputs_[2] = length;
536 inputs_[3] = elements; 536 inputs_[3] = elements;
537 } 537 }
538 538
539 LOperand* function() { return inputs_[0]; } 539 LOperand* function() { return inputs_[0]; }
540 LOperand* receiver() { return inputs_[1]; } 540 LOperand* receiver() { return inputs_[1]; }
541 LOperand* length() { return inputs_[2]; } 541 LOperand* length() { return inputs_[2]; }
542 LOperand* elements() { return inputs_[3]; } 542 LOperand* elements() { return inputs_[3]; }
543 543
544 DECLARE_CONCRETE_INSTRUCTION(ApplyArguments, "apply-arguments") 544 DECLARE_CONCRETE_INSTRUCTION(ApplyArguments, "apply-arguments")
545 DECLARE_HYDROGEN_ACCESSOR(ApplyArguments)
545 }; 546 };
546 547
547 548
548 class LAccessArgumentsAt final : public LTemplateInstruction<1, 3, 0> { 549 class LAccessArgumentsAt final : public LTemplateInstruction<1, 3, 0> {
549 public: 550 public:
550 LAccessArgumentsAt(LOperand* arguments, LOperand* length, LOperand* index) { 551 LAccessArgumentsAt(LOperand* arguments, LOperand* length, LOperand* index) {
551 inputs_[0] = arguments; 552 inputs_[0] = arguments;
552 inputs_[1] = length; 553 inputs_[1] = length;
553 inputs_[2] = index; 554 inputs_[2] = index;
554 } 555 }
(...skipping 2098 matching lines...) Expand 10 before | Expand all | Expand 10 after
2653 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2654 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2654 }; 2655 };
2655 2656
2656 #undef DECLARE_HYDROGEN_ACCESSOR 2657 #undef DECLARE_HYDROGEN_ACCESSOR
2657 #undef DECLARE_CONCRETE_INSTRUCTION 2658 #undef DECLARE_CONCRETE_INSTRUCTION
2658 2659
2659 } // namespace internal 2660 } // namespace internal
2660 } // namespace v8 2661 } // namespace v8
2661 2662
2662 #endif // V8_CRANKSHAFT_X64_LITHIUM_X64_H_ 2663 #endif // V8_CRANKSHAFT_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/crankshaft/x64/lithium-codegen-x64.cc ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698