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 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
695 break; | 695 break; |
696 case kArchLookupSwitch: | 696 case kArchLookupSwitch: |
697 AssembleArchLookupSwitch(instr); | 697 AssembleArchLookupSwitch(instr); |
698 break; | 698 break; |
699 case kArchTableSwitch: | 699 case kArchTableSwitch: |
700 AssembleArchTableSwitch(instr); | 700 AssembleArchTableSwitch(instr); |
701 break; | 701 break; |
702 case kArchDebugBreak: | 702 case kArchDebugBreak: |
703 __ stop("kArchDebugBreak"); | 703 __ stop("kArchDebugBreak"); |
704 break; | 704 break; |
705 case kArchImpossible: | |
706 __ Abort(kConversionFromImpossibleValue); | |
707 break; | |
708 case kArchComment: { | 705 case kArchComment: { |
709 Address comment_string = i.InputExternalReference(0).address(); | 706 Address comment_string = i.InputExternalReference(0).address(); |
710 __ RecordComment(reinterpret_cast<const char*>(comment_string)); | 707 __ RecordComment(reinterpret_cast<const char*>(comment_string)); |
711 break; | 708 break; |
712 } | 709 } |
713 case kArchNop: | 710 case kArchNop: |
714 case kArchThrowTerminator: | 711 case kArchThrowTerminator: |
715 // don't emit code for nops. | 712 // don't emit code for nops. |
716 break; | 713 break; |
717 case kArchDeoptimize: { | 714 case kArchDeoptimize: { |
(...skipping 1769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2487 padding_size -= v8::internal::Assembler::kInstrSize; | 2484 padding_size -= v8::internal::Assembler::kInstrSize; |
2488 } | 2485 } |
2489 } | 2486 } |
2490 } | 2487 } |
2491 | 2488 |
2492 #undef __ | 2489 #undef __ |
2493 | 2490 |
2494 } // namespace compiler | 2491 } // namespace compiler |
2495 } // namespace internal | 2492 } // namespace internal |
2496 } // namespace v8 | 2493 } // namespace v8 |
OLD | NEW |