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

Side by Side Diff: src/crankshaft/mips/lithium-mips.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_MIPS_LITHIUM_MIPS_H_ 5 #ifndef V8_CRANKSHAFT_MIPS_LITHIUM_MIPS_H_
6 #define V8_CRANKSHAFT_MIPS_LITHIUM_MIPS_H_ 6 #define V8_CRANKSHAFT_MIPS_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 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 LOperand* receiver, 523 LOperand* receiver,
524 LOperand* length, 524 LOperand* length,
525 LOperand* elements) { 525 LOperand* elements) {
526 inputs_[0] = function; 526 inputs_[0] = function;
527 inputs_[1] = receiver; 527 inputs_[1] = receiver;
528 inputs_[2] = length; 528 inputs_[2] = length;
529 inputs_[3] = elements; 529 inputs_[3] = elements;
530 } 530 }
531 531
532 DECLARE_CONCRETE_INSTRUCTION(ApplyArguments, "apply-arguments") 532 DECLARE_CONCRETE_INSTRUCTION(ApplyArguments, "apply-arguments")
533 DECLARE_HYDROGEN_ACCESSOR(ApplyArguments)
533 534
534 LOperand* function() { return inputs_[0]; } 535 LOperand* function() { return inputs_[0]; }
535 LOperand* receiver() { return inputs_[1]; } 536 LOperand* receiver() { return inputs_[1]; }
536 LOperand* length() { return inputs_[2]; } 537 LOperand* length() { return inputs_[2]; }
537 LOperand* elements() { return inputs_[3]; } 538 LOperand* elements() { return inputs_[3]; }
538 }; 539 };
539 540
540 541
541 class LAccessArgumentsAt final : public LTemplateInstruction<1, 3, 0> { 542 class LAccessArgumentsAt final : public LTemplateInstruction<1, 3, 0> {
542 public: 543 public:
(...skipping 2086 matching lines...) Expand 10 before | Expand all | Expand 10 after
2629 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2630 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2630 }; 2631 };
2631 2632
2632 #undef DECLARE_HYDROGEN_ACCESSOR 2633 #undef DECLARE_HYDROGEN_ACCESSOR
2633 #undef DECLARE_CONCRETE_INSTRUCTION 2634 #undef DECLARE_CONCRETE_INSTRUCTION
2634 2635
2635 } // namespace internal 2636 } // namespace internal
2636 } // namespace v8 2637 } // namespace v8
2637 2638
2638 #endif // V8_CRANKSHAFT_MIPS_LITHIUM_MIPS_H_ 2639 #endif // V8_CRANKSHAFT_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/crankshaft/mips/lithium-codegen-mips.cc ('k') | src/crankshaft/mips64/lithium-codegen-mips64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698