| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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/ast/scopes.h" | 7 #include "src/ast/scopes.h" |
| 8 #include "src/compiler/code-generator-impl.h" | 8 #include "src/compiler/code-generator-impl.h" |
| 9 #include "src/compiler/gap-resolver.h" | 9 #include "src/compiler/gap-resolver.h" |
| 10 #include "src/compiler/node-matchers.h" | 10 #include "src/compiler/node-matchers.h" |
| (...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 840 break; | 840 break; |
| 841 case kArchLookupSwitch: | 841 case kArchLookupSwitch: |
| 842 AssembleArchLookupSwitch(instr); | 842 AssembleArchLookupSwitch(instr); |
| 843 break; | 843 break; |
| 844 case kArchTableSwitch: | 844 case kArchTableSwitch: |
| 845 AssembleArchTableSwitch(instr); | 845 AssembleArchTableSwitch(instr); |
| 846 break; | 846 break; |
| 847 case kArchDebugBreak: | 847 case kArchDebugBreak: |
| 848 __ stop("kArchDebugBreak"); | 848 __ stop("kArchDebugBreak"); |
| 849 break; | 849 break; |
| 850 case kArchImpossible: |
| 851 __ Abort(kConversionFromImpossibleValue); |
| 852 break; |
| 850 case kArchNop: | 853 case kArchNop: |
| 851 case kArchThrowTerminator: | 854 case kArchThrowTerminator: |
| 852 // don't emit code for nops. | 855 // don't emit code for nops. |
| 853 break; | 856 break; |
| 854 case kArchDeoptimize: { | 857 case kArchDeoptimize: { |
| 855 int deopt_state_id = | 858 int deopt_state_id = |
| 856 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); | 859 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); |
| 857 Deoptimizer::BailoutType bailout_type = | 860 Deoptimizer::BailoutType bailout_type = |
| 858 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); | 861 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); |
| 859 CodeGenResult result = | 862 CodeGenResult result = |
| (...skipping 1501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2361 padding_size -= 2; | 2364 padding_size -= 2; |
| 2362 } | 2365 } |
| 2363 } | 2366 } |
| 2364 } | 2367 } |
| 2365 | 2368 |
| 2366 #undef __ | 2369 #undef __ |
| 2367 | 2370 |
| 2368 } // namespace compiler | 2371 } // namespace compiler |
| 2369 } // namespace internal | 2372 } // namespace internal |
| 2370 } // namespace v8 | 2373 } // namespace v8 |
| OLD | NEW |