| 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: |
| 592 // don't emit code for nops. | 593 // don't emit code for nops. |
| 593 break; | 594 break; |
| 594 case kArchDeoptimize: { | 595 case kArchDeoptimize: { |
| 595 int deopt_state_id = | 596 int deopt_state_id = |
| 596 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); | 597 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); |
| 597 Deoptimizer::BailoutType bailout_type = | 598 Deoptimizer::BailoutType bailout_type = |
| 598 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); | 599 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); |
| 599 AssembleDeoptimizerCall(deopt_state_id, bailout_type); | 600 AssembleDeoptimizerCall(deopt_state_id, bailout_type); |
| 600 break; | 601 break; |
| 601 } | 602 } |
| (...skipping 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1620 padding_size -= kInstructionSize; | 1621 padding_size -= kInstructionSize; |
| 1621 } | 1622 } |
| 1622 } | 1623 } |
| 1623 } | 1624 } |
| 1624 | 1625 |
| 1625 #undef __ | 1626 #undef __ |
| 1626 | 1627 |
| 1627 } // namespace compiler | 1628 } // namespace compiler |
| 1628 } // namespace internal | 1629 } // namespace internal |
| 1629 } // namespace v8 | 1630 } // namespace v8 |
| OLD | NEW |