| 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: |
| 587 // don't emit code for nops. | 588 // don't emit code for nops. |
| 588 break; | 589 break; |
| 589 case kArchDeoptimize: { | 590 case kArchDeoptimize: { |
| 590 int deopt_state_id = | 591 int deopt_state_id = |
| 591 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); | 592 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); |
| 592 Deoptimizer::BailoutType bailout_type = | 593 Deoptimizer::BailoutType bailout_type = |
| 593 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); | 594 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); |
| 594 AssembleDeoptimizerCall(deopt_state_id, bailout_type); | 595 AssembleDeoptimizerCall(deopt_state_id, bailout_type); |
| 595 break; | 596 break; |
| 596 } | 597 } |
| (...skipping 1117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1714 padding_size -= v8::internal::Assembler::kInstrSize; | 1715 padding_size -= v8::internal::Assembler::kInstrSize; |
| 1715 } | 1716 } |
| 1716 } | 1717 } |
| 1717 } | 1718 } |
| 1718 | 1719 |
| 1719 #undef __ | 1720 #undef __ |
| 1720 | 1721 |
| 1721 } // namespace compiler | 1722 } // namespace compiler |
| 1722 } // namespace internal | 1723 } // namespace internal |
| 1723 } // namespace v8 | 1724 } // namespace v8 |
| OLD | NEW |