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/ast/scopes.h" | 5 #include "src/ast/scopes.h" |
6 #include "src/compiler/code-generator.h" | 6 #include "src/compiler/code-generator.h" |
7 #include "src/compiler/code-generator-impl.h" | 7 #include "src/compiler/code-generator-impl.h" |
8 #include "src/compiler/gap-resolver.h" | 8 #include "src/compiler/gap-resolver.h" |
9 #include "src/compiler/node-matchers.h" | 9 #include "src/compiler/node-matchers.h" |
10 #include "src/compiler/osr.h" | 10 #include "src/compiler/osr.h" |
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
577 case kArchJmp: | 577 case kArchJmp: |
578 AssembleArchJump(i.InputRpo(0)); | 578 AssembleArchJump(i.InputRpo(0)); |
579 break; | 579 break; |
580 case kArchLookupSwitch: | 580 case kArchLookupSwitch: |
581 AssembleArchLookupSwitch(instr); | 581 AssembleArchLookupSwitch(instr); |
582 break; | 582 break; |
583 case kArchTableSwitch: | 583 case kArchTableSwitch: |
584 AssembleArchTableSwitch(instr); | 584 AssembleArchTableSwitch(instr); |
585 break; | 585 break; |
586 case kArchNop: | 586 case kArchNop: |
587 case kArchThrowTerminator: | |
588 // don't emit code for nops. | 587 // don't emit code for nops. |
589 break; | 588 break; |
590 case kArchDeoptimize: { | 589 case kArchDeoptimize: { |
591 int deopt_state_id = | 590 int deopt_state_id = |
592 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); | 591 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); |
593 Deoptimizer::BailoutType bailout_type = | 592 Deoptimizer::BailoutType bailout_type = |
594 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); | 593 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); |
595 AssembleDeoptimizerCall(deopt_state_id, bailout_type); | 594 AssembleDeoptimizerCall(deopt_state_id, bailout_type); |
596 break; | 595 break; |
597 } | 596 } |
(...skipping 1117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1715 padding_size -= v8::internal::Assembler::kInstrSize; | 1714 padding_size -= v8::internal::Assembler::kInstrSize; |
1716 } | 1715 } |
1717 } | 1716 } |
1718 } | 1717 } |
1719 | 1718 |
1720 #undef __ | 1719 #undef __ |
1721 | 1720 |
1722 } // namespace compiler | 1721 } // namespace compiler |
1723 } // namespace internal | 1722 } // namespace internal |
1724 } // namespace v8 | 1723 } // namespace v8 |
OLD | NEW |