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 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
645 } | 645 } |
646 case kArchJmp: | 646 case kArchJmp: |
647 AssembleArchJump(i.InputRpo(0)); | 647 AssembleArchJump(i.InputRpo(0)); |
648 break; | 648 break; |
649 case kArchLookupSwitch: | 649 case kArchLookupSwitch: |
650 AssembleArchLookupSwitch(instr); | 650 AssembleArchLookupSwitch(instr); |
651 break; | 651 break; |
652 case kArchTableSwitch: | 652 case kArchTableSwitch: |
653 AssembleArchTableSwitch(instr); | 653 AssembleArchTableSwitch(instr); |
654 break; | 654 break; |
| 655 case kArchDebugBreak: |
| 656 __ stop("kArchDebugBreak"); |
| 657 break; |
655 case kArchNop: | 658 case kArchNop: |
656 case kArchThrowTerminator: | 659 case kArchThrowTerminator: |
657 // don't emit code for nops. | 660 // don't emit code for nops. |
658 break; | 661 break; |
659 case kArchDeoptimize: { | 662 case kArchDeoptimize: { |
660 int deopt_state_id = | 663 int deopt_state_id = |
661 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); | 664 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); |
662 Deoptimizer::BailoutType bailout_type = | 665 Deoptimizer::BailoutType bailout_type = |
663 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); | 666 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); |
664 CodeGenResult result = | 667 CodeGenResult result = |
(...skipping 1312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1977 padding_size -= v8::internal::Assembler::kInstrSize; | 1980 padding_size -= v8::internal::Assembler::kInstrSize; |
1978 } | 1981 } |
1979 } | 1982 } |
1980 } | 1983 } |
1981 | 1984 |
1982 #undef __ | 1985 #undef __ |
1983 | 1986 |
1984 } // namespace compiler | 1987 } // namespace compiler |
1985 } // namespace internal | 1988 } // namespace internal |
1986 } // namespace v8 | 1989 } // namespace v8 |
OLD | NEW |