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

Side by Side Diff: src/compiler/code-generator.cc

Issue 1768263004: [turbofan] [deoptimizer] Support inlining of ES6 tail calls. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressing comments, StandardFrameConstants -> CommonFrameConstants 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/arm64/deoptimizer-arm64.cc ('k') | src/compiler/frame-states.h » ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 #include "src/compiler/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 6
7 #include "src/address-map.h" 7 #include "src/address-map.h"
8 #include "src/compiler/code-generator-impl.h" 8 #include "src/compiler/code-generator-impl.h"
9 #include "src/compiler/linkage.h" 9 #include "src/compiler/linkage.h"
10 #include "src/compiler/pipeline.h" 10 #include "src/compiler/pipeline.h"
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 case FrameStateType::kInterpretedFunction: 622 case FrameStateType::kInterpretedFunction:
623 translation->BeginInterpretedFrame( 623 translation->BeginInterpretedFrame(
624 descriptor->bailout_id(), shared_info_id, 624 descriptor->bailout_id(), shared_info_id,
625 static_cast<unsigned int>(descriptor->locals_count() + 1)); 625 static_cast<unsigned int>(descriptor->locals_count() + 1));
626 break; 626 break;
627 case FrameStateType::kArgumentsAdaptor: 627 case FrameStateType::kArgumentsAdaptor:
628 translation->BeginArgumentsAdaptorFrame( 628 translation->BeginArgumentsAdaptorFrame(
629 shared_info_id, 629 shared_info_id,
630 static_cast<unsigned int>(descriptor->parameters_count())); 630 static_cast<unsigned int>(descriptor->parameters_count()));
631 break; 631 break;
632 case FrameStateType::kTailCallerFunction:
633 translation->BeginTailCallerFrame(shared_info_id);
634 break;
632 case FrameStateType::kConstructStub: 635 case FrameStateType::kConstructStub:
633 translation->BeginConstructStubFrame( 636 translation->BeginConstructStubFrame(
634 shared_info_id, 637 shared_info_id,
635 static_cast<unsigned int>(descriptor->parameters_count())); 638 static_cast<unsigned int>(descriptor->parameters_count()));
636 break; 639 break;
637 } 640 }
638 641
639 TranslateFrameStateDescriptorOperands(descriptor, iter, state_combine, 642 TranslateFrameStateDescriptorOperands(descriptor, iter, state_combine,
640 translation); 643 translation);
641 } 644 }
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
776 : frame_(gen->frame()), masm_(gen->masm()), next_(gen->ools_) { 779 : frame_(gen->frame()), masm_(gen->masm()), next_(gen->ools_) {
777 gen->ools_ = this; 780 gen->ools_ = this;
778 } 781 }
779 782
780 783
781 OutOfLineCode::~OutOfLineCode() {} 784 OutOfLineCode::~OutOfLineCode() {}
782 785
783 } // namespace compiler 786 } // namespace compiler
784 } // namespace internal 787 } // namespace internal
785 } // namespace v8 788 } // namespace v8
OLDNEW
« no previous file with comments | « src/arm64/deoptimizer-arm64.cc ('k') | src/compiler/frame-states.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698