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 #include "src/compiler/code-generator-impl.h" | 6 #include "src/compiler/code-generator-impl.h" |
7 #include "src/compiler/gap-resolver.h" | 7 #include "src/compiler/gap-resolver.h" |
8 #include "src/compiler/node-matchers.h" | 8 #include "src/compiler/node-matchers.h" |
9 #include "src/compiler/osr.h" | 9 #include "src/compiler/osr.h" |
10 #include "src/mips/macro-assembler-mips.h" | 10 #include "src/mips/macro-assembler-mips.h" |
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
558 case kArchJmp: | 558 case kArchJmp: |
559 AssembleArchJump(i.InputRpo(0)); | 559 AssembleArchJump(i.InputRpo(0)); |
560 break; | 560 break; |
561 case kArchLookupSwitch: | 561 case kArchLookupSwitch: |
562 AssembleArchLookupSwitch(instr); | 562 AssembleArchLookupSwitch(instr); |
563 break; | 563 break; |
564 case kArchTableSwitch: | 564 case kArchTableSwitch: |
565 AssembleArchTableSwitch(instr); | 565 AssembleArchTableSwitch(instr); |
566 break; | 566 break; |
567 case kArchNop: | 567 case kArchNop: |
| 568 case kArchThrowTerminator: |
568 // don't emit code for nops. | 569 // don't emit code for nops. |
569 break; | 570 break; |
570 case kArchDeoptimize: { | 571 case kArchDeoptimize: { |
571 int deopt_state_id = | 572 int deopt_state_id = |
572 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); | 573 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); |
573 AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER); | 574 AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER); |
574 break; | 575 break; |
575 } | 576 } |
576 case kArchRet: | 577 case kArchRet: |
577 AssembleReturn(); | 578 AssembleReturn(); |
(...skipping 1138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1716 padding_size -= v8::internal::Assembler::kInstrSize; | 1717 padding_size -= v8::internal::Assembler::kInstrSize; |
1717 } | 1718 } |
1718 } | 1719 } |
1719 } | 1720 } |
1720 | 1721 |
1721 #undef __ | 1722 #undef __ |
1722 | 1723 |
1723 } // namespace compiler | 1724 } // namespace compiler |
1724 } // namespace internal | 1725 } // namespace internal |
1725 } // namespace v8 | 1726 } // namespace v8 |
OLD | NEW |