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

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

Issue 1767173002: PPC: [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/ppc/lithium-codegen-ppc.cc ('k') | src/ppc/builtins-ppc.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_PPC_LITHIUM_PPC_H_ 5 #ifndef V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_
6 #define V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_ 6 #define V8_CRANKSHAFT_PPC_LITHIUM_PPC_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 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 public: 516 public:
517 LApplyArguments(LOperand* function, LOperand* receiver, LOperand* length, 517 LApplyArguments(LOperand* function, LOperand* receiver, LOperand* length,
518 LOperand* elements) { 518 LOperand* elements) {
519 inputs_[0] = function; 519 inputs_[0] = function;
520 inputs_[1] = receiver; 520 inputs_[1] = receiver;
521 inputs_[2] = length; 521 inputs_[2] = length;
522 inputs_[3] = elements; 522 inputs_[3] = elements;
523 } 523 }
524 524
525 DECLARE_CONCRETE_INSTRUCTION(ApplyArguments, "apply-arguments") 525 DECLARE_CONCRETE_INSTRUCTION(ApplyArguments, "apply-arguments")
526 DECLARE_HYDROGEN_ACCESSOR(ApplyArguments)
526 527
527 LOperand* function() { return inputs_[0]; } 528 LOperand* function() { return inputs_[0]; }
528 LOperand* receiver() { return inputs_[1]; } 529 LOperand* receiver() { return inputs_[1]; }
529 LOperand* length() { return inputs_[2]; } 530 LOperand* length() { return inputs_[2]; }
530 LOperand* elements() { return inputs_[3]; } 531 LOperand* elements() { return inputs_[3]; }
531 }; 532 };
532 533
533 534
534 class LAccessArgumentsAt final : public LTemplateInstruction<1, 3, 0> { 535 class LAccessArgumentsAt final : public LTemplateInstruction<1, 3, 0> {
535 public: 536 public:
(...skipping 2020 matching lines...) Expand 10 before | Expand all | Expand 10 after
2556 2557
2557 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2558 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2558 }; 2559 };
2559 2560
2560 #undef DECLARE_HYDROGEN_ACCESSOR 2561 #undef DECLARE_HYDROGEN_ACCESSOR
2561 #undef DECLARE_CONCRETE_INSTRUCTION 2562 #undef DECLARE_CONCRETE_INSTRUCTION
2562 } // namespace internal 2563 } // namespace internal
2563 } // namespace v8 2564 } // namespace v8
2564 2565
2565 #endif // V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_ 2566 #endif // V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_
OLDNEW
« no previous file with comments | « src/crankshaft/ppc/lithium-codegen-ppc.cc ('k') | src/ppc/builtins-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698