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 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
568 case kArchJmp: | 568 case kArchJmp: |
569 AssembleArchJump(i.InputRpo(0)); | 569 AssembleArchJump(i.InputRpo(0)); |
570 break; | 570 break; |
571 case kArchLookupSwitch: | 571 case kArchLookupSwitch: |
572 AssembleArchLookupSwitch(instr); | 572 AssembleArchLookupSwitch(instr); |
573 break; | 573 break; |
574 case kArchTableSwitch: | 574 case kArchTableSwitch: |
575 AssembleArchTableSwitch(instr); | 575 AssembleArchTableSwitch(instr); |
576 break; | 576 break; |
577 case kArchNop: | 577 case kArchNop: |
| 578 case kArchThrowTerminator: |
578 // don't emit code for nops. | 579 // don't emit code for nops. |
579 break; | 580 break; |
580 case kArchDeoptimize: { | 581 case kArchDeoptimize: { |
581 int deopt_state_id = | 582 int deopt_state_id = |
582 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); | 583 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); |
583 AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER); | 584 AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER); |
584 break; | 585 break; |
585 } | 586 } |
586 case kArchRet: | 587 case kArchRet: |
587 AssembleReturn(); | 588 AssembleReturn(); |
(...skipping 1024 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1612 padding_size -= v8::internal::Assembler::kInstrSize; | 1613 padding_size -= v8::internal::Assembler::kInstrSize; |
1613 } | 1614 } |
1614 } | 1615 } |
1615 } | 1616 } |
1616 | 1617 |
1617 #undef __ | 1618 #undef __ |
1618 | 1619 |
1619 } // namespace compiler | 1620 } // namespace compiler |
1620 } // namespace internal | 1621 } // namespace internal |
1621 } // namespace v8 | 1622 } // namespace v8 |
OLD | NEW |