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/arm64/code-generator-arm64.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/compiler/arm/code-generator-arm.cc ('k') | src/compiler/code-assembler.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 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/arm64/frames-arm64.h" 7 #include "src/arm64/frames-arm64.h"
8 #include "src/arm64/macro-assembler-arm64.h" 8 #include "src/arm64/macro-assembler-arm64.h"
9 #include "src/ast/scopes.h" 9 #include "src/ast/scopes.h"
10 #include "src/compiler/code-generator-impl.h" 10 #include "src/compiler/code-generator-impl.h"
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 } 704 }
705 case kArchJmp: 705 case kArchJmp:
706 AssembleArchJump(i.InputRpo(0)); 706 AssembleArchJump(i.InputRpo(0));
707 break; 707 break;
708 case kArchTableSwitch: 708 case kArchTableSwitch:
709 AssembleArchTableSwitch(instr); 709 AssembleArchTableSwitch(instr);
710 break; 710 break;
711 case kArchLookupSwitch: 711 case kArchLookupSwitch:
712 AssembleArchLookupSwitch(instr); 712 AssembleArchLookupSwitch(instr);
713 break; 713 break;
714 case kArchDebugBreak:
715 __ Debug("kArchDebugBreak", 0, BREAK);
716 break;
714 case kArchNop: 717 case kArchNop:
715 case kArchThrowTerminator: 718 case kArchThrowTerminator:
716 // don't emit code for nops. 719 // don't emit code for nops.
717 break; 720 break;
718 case kArchDeoptimize: { 721 case kArchDeoptimize: {
719 int deopt_state_id = 722 int deopt_state_id =
720 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); 723 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore());
721 Deoptimizer::BailoutType bailout_type = 724 Deoptimizer::BailoutType bailout_type =
722 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); 725 Deoptimizer::BailoutType(MiscField::decode(instr->opcode()));
723 CodeGenResult result = 726 CodeGenResult result =
(...skipping 1175 matching lines...) Expand 10 before | Expand all | Expand 10 after
1899 padding_size -= kInstructionSize; 1902 padding_size -= kInstructionSize;
1900 } 1903 }
1901 } 1904 }
1902 } 1905 }
1903 1906
1904 #undef __ 1907 #undef __
1905 1908
1906 } // namespace compiler 1909 } // namespace compiler
1907 } // namespace internal 1910 } // namespace internal
1908 } // namespace v8 1911 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm/code-generator-arm.cc ('k') | src/compiler/code-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698