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

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

Issue 1767343003: X87: [crankshaft] Support ES6 tail call elimination. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/x87/lithium-codegen-x87.cc ('k') | src/x87/builtins-x87.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_X87_LITHIUM_X87_H_ 5 #ifndef V8_CRANKSHAFT_X87_LITHIUM_X87_H_
6 #define V8_CRANKSHAFT_X87_LITHIUM_X87_H_ 6 #define V8_CRANKSHAFT_X87_LITHIUM_X87_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 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 inputs_[2] = length; 546 inputs_[2] = length;
547 inputs_[3] = elements; 547 inputs_[3] = elements;
548 } 548 }
549 549
550 LOperand* function() { return inputs_[0]; } 550 LOperand* function() { return inputs_[0]; }
551 LOperand* receiver() { return inputs_[1]; } 551 LOperand* receiver() { return inputs_[1]; }
552 LOperand* length() { return inputs_[2]; } 552 LOperand* length() { return inputs_[2]; }
553 LOperand* elements() { return inputs_[3]; } 553 LOperand* elements() { return inputs_[3]; }
554 554
555 DECLARE_CONCRETE_INSTRUCTION(ApplyArguments, "apply-arguments") 555 DECLARE_CONCRETE_INSTRUCTION(ApplyArguments, "apply-arguments")
556 DECLARE_HYDROGEN_ACCESSOR(ApplyArguments)
556 }; 557 };
557 558
558 559
559 class LAccessArgumentsAt final : public LTemplateInstruction<1, 3, 0> { 560 class LAccessArgumentsAt final : public LTemplateInstruction<1, 3, 0> {
560 public: 561 public:
561 LAccessArgumentsAt(LOperand* arguments, LOperand* length, LOperand* index) { 562 LAccessArgumentsAt(LOperand* arguments, LOperand* length, LOperand* index) {
562 inputs_[0] = arguments; 563 inputs_[0] = arguments;
563 inputs_[1] = length; 564 inputs_[1] = length;
564 inputs_[2] = index; 565 inputs_[2] = index;
565 } 566 }
(...skipping 2119 matching lines...) Expand 10 before | Expand all | Expand 10 after
2685 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2686 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2686 }; 2687 };
2687 2688
2688 #undef DECLARE_HYDROGEN_ACCESSOR 2689 #undef DECLARE_HYDROGEN_ACCESSOR
2689 #undef DECLARE_CONCRETE_INSTRUCTION 2690 #undef DECLARE_CONCRETE_INSTRUCTION
2690 2691
2691 } // namespace internal 2692 } // namespace internal
2692 } // namespace v8 2693 } // namespace v8
2693 2694
2694 #endif // V8_CRANKSHAFT_X87_LITHIUM_X87_H_ 2695 #endif // V8_CRANKSHAFT_X87_LITHIUM_X87_H_
OLDNEW
« no previous file with comments | « src/crankshaft/x87/lithium-codegen-x87.cc ('k') | src/x87/builtins-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698