OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |