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

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

Issue 1993273002: PPC/S390: [turbofan] Add DebugBreak machine operator and support (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 | « no previous file | src/compiler/s390/code-generator-s390.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 856 matching lines...) Expand 10 before | Expand all | Expand 10 after
867 DCHECK_EQ(LeaveRC, i.OutputRCBit()); 867 DCHECK_EQ(LeaveRC, i.OutputRCBit());
868 break; 868 break;
869 case kArchLookupSwitch: 869 case kArchLookupSwitch:
870 AssembleArchLookupSwitch(instr); 870 AssembleArchLookupSwitch(instr);
871 DCHECK_EQ(LeaveRC, i.OutputRCBit()); 871 DCHECK_EQ(LeaveRC, i.OutputRCBit());
872 break; 872 break;
873 case kArchTableSwitch: 873 case kArchTableSwitch:
874 AssembleArchTableSwitch(instr); 874 AssembleArchTableSwitch(instr);
875 DCHECK_EQ(LeaveRC, i.OutputRCBit()); 875 DCHECK_EQ(LeaveRC, i.OutputRCBit());
876 break; 876 break;
877 case kArchDebugBreak:
878 __ stop("kArchDebugBreak");
879 break;
877 case kArchNop: 880 case kArchNop:
878 case kArchThrowTerminator: 881 case kArchThrowTerminator:
879 // don't emit code for nops. 882 // don't emit code for nops.
880 DCHECK_EQ(LeaveRC, i.OutputRCBit()); 883 DCHECK_EQ(LeaveRC, i.OutputRCBit());
881 break; 884 break;
882 case kArchDeoptimize: { 885 case kArchDeoptimize: {
883 int deopt_state_id = 886 int deopt_state_id =
884 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); 887 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore());
885 Deoptimizer::BailoutType bailout_type = 888 Deoptimizer::BailoutType bailout_type =
886 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); 889 Deoptimizer::BailoutType(MiscField::decode(instr->opcode()));
(...skipping 1224 matching lines...) Expand 10 before | Expand all | Expand 10 after
2111 padding_size -= v8::internal::Assembler::kInstrSize; 2114 padding_size -= v8::internal::Assembler::kInstrSize;
2112 } 2115 }
2113 } 2116 }
2114 } 2117 }
2115 2118
2116 #undef __ 2119 #undef __
2117 2120
2118 } // namespace compiler 2121 } // namespace compiler
2119 } // namespace internal 2122 } // namespace internal
2120 } // namespace v8 2123 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/s390/code-generator-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698