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/arm64/frames-arm64.h" | 7 #include "src/arm64/frames-arm64.h" |
8 #include "src/arm64/macro-assembler-arm64.h" | 8 #include "src/arm64/macro-assembler-arm64.h" |
9 #include "src/compiler/code-generator-impl.h" | 9 #include "src/compiler/code-generator-impl.h" |
10 #include "src/compiler/gap-resolver.h" | 10 #include "src/compiler/gap-resolver.h" |
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
579 case kArchJmp: | 579 case kArchJmp: |
580 AssembleArchJump(i.InputRpo(0)); | 580 AssembleArchJump(i.InputRpo(0)); |
581 break; | 581 break; |
582 case kArchTableSwitch: | 582 case kArchTableSwitch: |
583 AssembleArchTableSwitch(instr); | 583 AssembleArchTableSwitch(instr); |
584 break; | 584 break; |
585 case kArchLookupSwitch: | 585 case kArchLookupSwitch: |
586 AssembleArchLookupSwitch(instr); | 586 AssembleArchLookupSwitch(instr); |
587 break; | 587 break; |
588 case kArchNop: | 588 case kArchNop: |
| 589 case kArchThrowTerminator: |
589 // don't emit code for nops. | 590 // don't emit code for nops. |
590 break; | 591 break; |
591 case kArchDeoptimize: { | 592 case kArchDeoptimize: { |
592 int deopt_state_id = | 593 int deopt_state_id = |
593 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); | 594 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); |
594 AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER); | 595 AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER); |
595 break; | 596 break; |
596 } | 597 } |
597 case kArchRet: | 598 case kArchRet: |
598 AssembleReturn(); | 599 AssembleReturn(); |
(...skipping 959 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1558 padding_size -= kInstructionSize; | 1559 padding_size -= kInstructionSize; |
1559 } | 1560 } |
1560 } | 1561 } |
1561 } | 1562 } |
1562 | 1563 |
1563 #undef __ | 1564 #undef __ |
1564 | 1565 |
1565 } // namespace compiler | 1566 } // namespace compiler |
1566 } // namespace internal | 1567 } // namespace internal |
1567 } // namespace v8 | 1568 } // namespace v8 |
OLD | NEW |