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

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

Issue 1697503002: [turbofan] Remove support for LazyBailout operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_trycatch-test-enable
Patch Set: Rebased. Created 4 years, 10 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/compiler/mips64/code-generator-mips64.cc ('k') | src/compiler/x64/code-generator-x64.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 #include "src/compiler/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 6
7 #include "src/ast/scopes.h" 7 #include "src/ast/scopes.h"
8 #include "src/compiler/code-generator-impl.h" 8 #include "src/compiler/code-generator-impl.h"
9 #include "src/compiler/gap-resolver.h" 9 #include "src/compiler/gap-resolver.h"
10 #include "src/compiler/node-matchers.h" 10 #include "src/compiler/node-matchers.h"
(...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 __ Assert(eq, kWrongFunctionContext); 754 __ Assert(eq, kWrongFunctionContext);
755 } 755 }
756 int stack_param_delta = i.InputInt32(instr->InputCount() - 1); 756 int stack_param_delta = i.InputInt32(instr->InputCount() - 1);
757 AssembleDeconstructActivationRecord(stack_param_delta); 757 AssembleDeconstructActivationRecord(stack_param_delta);
758 __ LoadP(ip, FieldMemOperand(func, JSFunction::kCodeEntryOffset)); 758 __ LoadP(ip, FieldMemOperand(func, JSFunction::kCodeEntryOffset));
759 __ Jump(ip); 759 __ Jump(ip);
760 DCHECK_EQ(LeaveRC, i.OutputRCBit()); 760 DCHECK_EQ(LeaveRC, i.OutputRCBit());
761 frame_access_state()->ClearSPDelta(); 761 frame_access_state()->ClearSPDelta();
762 break; 762 break;
763 } 763 }
764 case kArchLazyBailout: {
765 v8::internal::Assembler::BlockTrampolinePoolScope block_trampoline_pool(
766 masm());
767 EnsureSpaceForLazyDeopt();
768 RecordCallPosition(instr);
769 break;
770 }
771 case kArchPrepareCallCFunction: { 764 case kArchPrepareCallCFunction: {
772 int const num_parameters = MiscField::decode(instr->opcode()); 765 int const num_parameters = MiscField::decode(instr->opcode());
773 __ PrepareCallCFunction(num_parameters, kScratchReg); 766 __ PrepareCallCFunction(num_parameters, kScratchReg);
774 // Frame alignment requires using FP-relative frame addressing. 767 // Frame alignment requires using FP-relative frame addressing.
775 frame_access_state()->SetFrameAccessToFP(); 768 frame_access_state()->SetFrameAccessToFP();
776 break; 769 break;
777 } 770 }
778 case kArchPrepareTailCall: 771 case kArchPrepareTailCall:
779 AssemblePrepareTailCall(i.InputInt32(instr->InputCount() - 1)); 772 AssemblePrepareTailCall(i.InputInt32(instr->InputCount() - 1));
780 break; 773 break;
(...skipping 1111 matching lines...) Expand 10 before | Expand all | Expand 10 after
1892 padding_size -= v8::internal::Assembler::kInstrSize; 1885 padding_size -= v8::internal::Assembler::kInstrSize;
1893 } 1886 }
1894 } 1887 }
1895 } 1888 }
1896 1889
1897 #undef __ 1890 #undef __
1898 1891
1899 } // namespace compiler 1892 } // namespace compiler
1900 } // namespace internal 1893 } // namespace internal
1901 } // namespace v8 1894 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/mips64/code-generator-mips64.cc ('k') | src/compiler/x64/code-generator-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698