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

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

Issue 1995543003: [turbofan] Add DebugBreak machine operator and support (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review feedback Created 4 years, 7 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/code-stub-assembler.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 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 DCHECK_EQ(LeaveCC, i.OutputSBit()); 577 DCHECK_EQ(LeaveCC, i.OutputSBit());
578 break; 578 break;
579 case kArchLookupSwitch: 579 case kArchLookupSwitch:
580 AssembleArchLookupSwitch(instr); 580 AssembleArchLookupSwitch(instr);
581 DCHECK_EQ(LeaveCC, i.OutputSBit()); 581 DCHECK_EQ(LeaveCC, i.OutputSBit());
582 break; 582 break;
583 case kArchTableSwitch: 583 case kArchTableSwitch:
584 AssembleArchTableSwitch(instr); 584 AssembleArchTableSwitch(instr);
585 DCHECK_EQ(LeaveCC, i.OutputSBit()); 585 DCHECK_EQ(LeaveCC, i.OutputSBit());
586 break; 586 break;
587 case kArchDebugBreak:
588 __ stop("kArchDebugBreak");
589 break;
587 case kArchNop: 590 case kArchNop:
588 case kArchThrowTerminator: 591 case kArchThrowTerminator:
589 // don't emit code for nops. 592 // don't emit code for nops.
590 DCHECK_EQ(LeaveCC, i.OutputSBit()); 593 DCHECK_EQ(LeaveCC, i.OutputSBit());
591 break; 594 break;
592 case kArchDeoptimize: { 595 case kArchDeoptimize: {
593 int deopt_state_id = 596 int deopt_state_id =
594 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); 597 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore());
595 Deoptimizer::BailoutType bailout_type = 598 Deoptimizer::BailoutType bailout_type =
596 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); 599 Deoptimizer::BailoutType(MiscField::decode(instr->opcode()));
(...skipping 1099 matching lines...) Expand 10 before | Expand all | Expand 10 after
1696 padding_size -= v8::internal::Assembler::kInstrSize; 1699 padding_size -= v8::internal::Assembler::kInstrSize;
1697 } 1700 }
1698 } 1701 }
1699 } 1702 }
1700 1703
1701 #undef __ 1704 #undef __
1702 1705
1703 } // namespace compiler 1706 } // namespace compiler
1704 } // namespace internal 1707 } // namespace internal
1705 } // namespace v8 1708 } // namespace v8
OLDNEW
« no previous file with comments | « src/code-stub-assembler.cc ('k') | src/compiler/arm64/code-generator-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698