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

Side by Side Diff: src/compiler/arm/code-generator-arm.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/ast/ast-numbering.cc ('k') | src/compiler/arm64/code-generator-arm64.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/arm/macro-assembler-arm.h" 7 #include "src/arm/macro-assembler-arm.h"
8 #include "src/ast/scopes.h" 8 #include "src/ast/scopes.h"
9 #include "src/compiler/code-generator-impl.h" 9 #include "src/compiler/code-generator-impl.h"
10 #include "src/compiler/gap-resolver.h" 10 #include "src/compiler/gap-resolver.h"
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 __ Assert(eq, kWrongFunctionContext); 466 __ Assert(eq, kWrongFunctionContext);
467 } 467 }
468 int stack_param_delta = i.InputInt32(instr->InputCount() - 1); 468 int stack_param_delta = i.InputInt32(instr->InputCount() - 1);
469 AssembleDeconstructActivationRecord(stack_param_delta); 469 AssembleDeconstructActivationRecord(stack_param_delta);
470 __ ldr(ip, FieldMemOperand(func, JSFunction::kCodeEntryOffset)); 470 __ ldr(ip, FieldMemOperand(func, JSFunction::kCodeEntryOffset));
471 __ Jump(ip); 471 __ Jump(ip);
472 DCHECK_EQ(LeaveCC, i.OutputSBit()); 472 DCHECK_EQ(LeaveCC, i.OutputSBit());
473 frame_access_state()->ClearSPDelta(); 473 frame_access_state()->ClearSPDelta();
474 break; 474 break;
475 } 475 }
476 case kArchLazyBailout: {
477 EnsureSpaceForLazyDeopt();
478 RecordCallPosition(instr);
479 break;
480 }
481 case kArchPrepareCallCFunction: { 476 case kArchPrepareCallCFunction: {
482 int const num_parameters = MiscField::decode(instr->opcode()); 477 int const num_parameters = MiscField::decode(instr->opcode());
483 __ PrepareCallCFunction(num_parameters, kScratchReg); 478 __ PrepareCallCFunction(num_parameters, kScratchReg);
484 // Frame alignment requires using FP-relative frame addressing. 479 // Frame alignment requires using FP-relative frame addressing.
485 frame_access_state()->SetFrameAccessToFP(); 480 frame_access_state()->SetFrameAccessToFP();
486 break; 481 break;
487 } 482 }
488 case kArchPrepareTailCall: 483 case kArchPrepareTailCall:
489 AssemblePrepareTailCall(i.InputInt32(instr->InputCount() - 1)); 484 AssemblePrepareTailCall(i.InputInt32(instr->InputCount() - 1));
490 break; 485 break;
(...skipping 967 matching lines...) Expand 10 before | Expand all | Expand 10 after
1458 padding_size -= v8::internal::Assembler::kInstrSize; 1453 padding_size -= v8::internal::Assembler::kInstrSize;
1459 } 1454 }
1460 } 1455 }
1461 } 1456 }
1462 1457
1463 #undef __ 1458 #undef __
1464 1459
1465 } // namespace compiler 1460 } // namespace compiler
1466 } // namespace internal 1461 } // namespace internal
1467 } // namespace v8 1462 } // namespace v8
OLDNEW
« no previous file with comments | « src/ast/ast-numbering.cc ('k') | src/compiler/arm64/code-generator-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698