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

Side by Side Diff: src/crankshaft/mips64/lithium-mips64.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
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_MIPS64_LITHIUM_MIPS_H_ 5 #ifndef V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_H_
6 #define V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_H_ 6 #define V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_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 2129 matching lines...) Expand 10 before | Expand all | Expand 10 after
2675 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2676 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2676 }; 2677 };
2677 2678
2678 #undef DECLARE_HYDROGEN_ACCESSOR 2679 #undef DECLARE_HYDROGEN_ACCESSOR
2679 #undef DECLARE_CONCRETE_INSTRUCTION 2680 #undef DECLARE_CONCRETE_INSTRUCTION
2680 2681
2681 } // namespace internal 2682 } // namespace internal
2682 } // namespace v8 2683 } // namespace v8
2683 2684
2684 #endif // V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_H_ 2685 #endif // V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/crankshaft/mips64/lithium-codegen-mips64.cc ('k') | src/crankshaft/x64/lithium-codegen-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698