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/ast/scopes.h" | 5 #include "src/ast/scopes.h" |
6 #include "src/compiler/code-generator.h" | 6 #include "src/compiler/code-generator.h" |
7 #include "src/compiler/code-generator-impl.h" | 7 #include "src/compiler/code-generator-impl.h" |
8 #include "src/compiler/gap-resolver.h" | 8 #include "src/compiler/gap-resolver.h" |
9 #include "src/compiler/node-matchers.h" | 9 #include "src/compiler/node-matchers.h" |
10 #include "src/compiler/osr.h" | 10 #include "src/compiler/osr.h" |
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
654 } | 654 } |
655 case kArchJmp: | 655 case kArchJmp: |
656 AssembleArchJump(i.InputRpo(0)); | 656 AssembleArchJump(i.InputRpo(0)); |
657 break; | 657 break; |
658 case kArchLookupSwitch: | 658 case kArchLookupSwitch: |
659 AssembleArchLookupSwitch(instr); | 659 AssembleArchLookupSwitch(instr); |
660 break; | 660 break; |
661 case kArchTableSwitch: | 661 case kArchTableSwitch: |
662 AssembleArchTableSwitch(instr); | 662 AssembleArchTableSwitch(instr); |
663 break; | 663 break; |
| 664 case kArchDebugBreak: |
| 665 __ stop("kArchDebugBreak"); |
| 666 break; |
664 case kArchNop: | 667 case kArchNop: |
665 case kArchThrowTerminator: | 668 case kArchThrowTerminator: |
666 // don't emit code for nops. | 669 // don't emit code for nops. |
667 break; | 670 break; |
668 case kArchDeoptimize: { | 671 case kArchDeoptimize: { |
669 int deopt_state_id = | 672 int deopt_state_id = |
670 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); | 673 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); |
671 Deoptimizer::BailoutType bailout_type = | 674 Deoptimizer::BailoutType bailout_type = |
672 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); | 675 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); |
673 CodeGenResult result = | 676 CodeGenResult result = |
(...skipping 1573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2247 padding_size -= v8::internal::Assembler::kInstrSize; | 2250 padding_size -= v8::internal::Assembler::kInstrSize; |
2248 } | 2251 } |
2249 } | 2252 } |
2250 } | 2253 } |
2251 | 2254 |
2252 #undef __ | 2255 #undef __ |
2253 | 2256 |
2254 } // namespace compiler | 2257 } // namespace compiler |
2255 } // namespace internal | 2258 } // namespace internal |
2256 } // namespace v8 | 2259 } // namespace v8 |
OLD | NEW |