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 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
686 break; | 686 break; |
687 case kArchLookupSwitch: | 687 case kArchLookupSwitch: |
688 AssembleArchLookupSwitch(instr); | 688 AssembleArchLookupSwitch(instr); |
689 break; | 689 break; |
690 case kArchTableSwitch: | 690 case kArchTableSwitch: |
691 AssembleArchTableSwitch(instr); | 691 AssembleArchTableSwitch(instr); |
692 break; | 692 break; |
693 case kArchDebugBreak: | 693 case kArchDebugBreak: |
694 __ stop("kArchDebugBreak"); | 694 __ stop("kArchDebugBreak"); |
695 break; | 695 break; |
696 case kArchImpossible: | |
697 __ Abort(kConversionFromImpossibleValue); | |
698 break; | |
699 case kArchComment: { | 696 case kArchComment: { |
700 Address comment_string = i.InputExternalReference(0).address(); | 697 Address comment_string = i.InputExternalReference(0).address(); |
701 __ RecordComment(reinterpret_cast<const char*>(comment_string)); | 698 __ RecordComment(reinterpret_cast<const char*>(comment_string)); |
702 break; | 699 break; |
703 } | 700 } |
704 case kArchNop: | 701 case kArchNop: |
705 case kArchThrowTerminator: | 702 case kArchThrowTerminator: |
706 // don't emit code for nops. | 703 // don't emit code for nops. |
707 break; | 704 break; |
708 case kArchDeoptimize: { | 705 case kArchDeoptimize: { |
(...skipping 1503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2212 padding_size -= v8::internal::Assembler::kInstrSize; | 2209 padding_size -= v8::internal::Assembler::kInstrSize; |
2213 } | 2210 } |
2214 } | 2211 } |
2215 } | 2212 } |
2216 | 2213 |
2217 #undef __ | 2214 #undef __ |
2218 | 2215 |
2219 } // namespace compiler | 2216 } // namespace compiler |
2220 } // namespace internal | 2217 } // namespace internal |
2221 } // namespace v8 | 2218 } // namespace v8 |
OLD | NEW |