| 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 576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 587 case kArchJmp: | 587 case kArchJmp: |
| 588 AssembleArchJump(i.InputRpo(0)); | 588 AssembleArchJump(i.InputRpo(0)); |
| 589 break; | 589 break; |
| 590 case kArchLookupSwitch: | 590 case kArchLookupSwitch: |
| 591 AssembleArchLookupSwitch(instr); | 591 AssembleArchLookupSwitch(instr); |
| 592 break; | 592 break; |
| 593 case kArchTableSwitch: | 593 case kArchTableSwitch: |
| 594 AssembleArchTableSwitch(instr); | 594 AssembleArchTableSwitch(instr); |
| 595 break; | 595 break; |
| 596 case kArchNop: | 596 case kArchNop: |
| 597 case kArchThrowTerminator: | |
| 598 // don't emit code for nops. | 597 // don't emit code for nops. |
| 599 break; | 598 break; |
| 600 case kArchDeoptimize: { | 599 case kArchDeoptimize: { |
| 601 int deopt_state_id = | 600 int deopt_state_id = |
| 602 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); | 601 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); |
| 603 Deoptimizer::BailoutType bailout_type = | 602 Deoptimizer::BailoutType bailout_type = |
| 604 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); | 603 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); |
| 605 AssembleDeoptimizerCall(deopt_state_id, bailout_type); | 604 AssembleDeoptimizerCall(deopt_state_id, bailout_type); |
| 606 break; | 605 break; |
| 607 } | 606 } |
| (...skipping 1278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1886 padding_size -= v8::internal::Assembler::kInstrSize; | 1885 padding_size -= v8::internal::Assembler::kInstrSize; |
| 1887 } | 1886 } |
| 1888 } | 1887 } |
| 1889 } | 1888 } |
| 1890 | 1889 |
| 1891 #undef __ | 1890 #undef __ |
| 1892 | 1891 |
| 1893 } // namespace compiler | 1892 } // namespace compiler |
| 1894 } // namespace internal | 1893 } // namespace internal |
| 1895 } // namespace v8 | 1894 } // namespace v8 |
| OLD | NEW |