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