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/ast/scopes.h" | 9 #include "src/ast/scopes.h" |
10 #include "src/compiler/code-generator-impl.h" | 10 #include "src/compiler/code-generator-impl.h" |
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
582 case kArchJmp: | 582 case kArchJmp: |
583 AssembleArchJump(i.InputRpo(0)); | 583 AssembleArchJump(i.InputRpo(0)); |
584 break; | 584 break; |
585 case kArchTableSwitch: | 585 case kArchTableSwitch: |
586 AssembleArchTableSwitch(instr); | 586 AssembleArchTableSwitch(instr); |
587 break; | 587 break; |
588 case kArchLookupSwitch: | 588 case kArchLookupSwitch: |
589 AssembleArchLookupSwitch(instr); | 589 AssembleArchLookupSwitch(instr); |
590 break; | 590 break; |
591 case kArchNop: | 591 case kArchNop: |
592 case kArchThrowTerminator: | |
593 // don't emit code for nops. | 592 // don't emit code for nops. |
594 break; | 593 break; |
595 case kArchDeoptimize: { | 594 case kArchDeoptimize: { |
596 int deopt_state_id = | 595 int deopt_state_id = |
597 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); | 596 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); |
598 Deoptimizer::BailoutType bailout_type = | 597 Deoptimizer::BailoutType bailout_type = |
599 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); | 598 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); |
600 AssembleDeoptimizerCall(deopt_state_id, bailout_type); | 599 AssembleDeoptimizerCall(deopt_state_id, bailout_type); |
601 break; | 600 break; |
602 } | 601 } |
(...skipping 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1621 padding_size -= kInstructionSize; | 1620 padding_size -= kInstructionSize; |
1622 } | 1621 } |
1623 } | 1622 } |
1624 } | 1623 } |
1625 | 1624 |
1626 #undef __ | 1625 #undef __ |
1627 | 1626 |
1628 } // namespace compiler | 1627 } // namespace compiler |
1629 } // namespace internal | 1628 } // namespace internal |
1630 } // namespace v8 | 1629 } // namespace v8 |
OLD | NEW |