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

Side by Side Diff: src/compiler/x64/code-generator-x64.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/verifier.cc ('k') | no next file » | 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/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 745 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 } 756 }
757 case kArchJmp: 757 case kArchJmp:
758 AssembleArchJump(i.InputRpo(0)); 758 AssembleArchJump(i.InputRpo(0));
759 break; 759 break;
760 case kArchLookupSwitch: 760 case kArchLookupSwitch:
761 AssembleArchLookupSwitch(instr); 761 AssembleArchLookupSwitch(instr);
762 break; 762 break;
763 case kArchTableSwitch: 763 case kArchTableSwitch:
764 AssembleArchTableSwitch(instr); 764 AssembleArchTableSwitch(instr);
765 break; 765 break;
766 case kArchDebugBreak:
767 __ int3();
768 break;
766 case kArchNop: 769 case kArchNop:
767 case kArchThrowTerminator: 770 case kArchThrowTerminator:
768 // don't emit code for nops. 771 // don't emit code for nops.
769 break; 772 break;
770 case kArchDeoptimize: { 773 case kArchDeoptimize: {
771 int deopt_state_id = 774 int deopt_state_id =
772 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); 775 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore());
773 Deoptimizer::BailoutType bailout_type = 776 Deoptimizer::BailoutType bailout_type =
774 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); 777 Deoptimizer::BailoutType(MiscField::decode(instr->opcode()));
775 CodeGenResult result = 778 CodeGenResult result =
(...skipping 1537 matching lines...) Expand 10 before | Expand all | Expand 10 after
2313 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; 2316 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc;
2314 __ Nop(padding_size); 2317 __ Nop(padding_size);
2315 } 2318 }
2316 } 2319 }
2317 2320
2318 #undef __ 2321 #undef __
2319 2322
2320 } // namespace compiler 2323 } // namespace compiler
2321 } // namespace internal 2324 } // namespace internal
2322 } // namespace v8 2325 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/verifier.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698