| 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 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 657 break; | 657 break; |
| 658 case kArchLookupSwitch: | 658 case kArchLookupSwitch: |
| 659 AssembleArchLookupSwitch(instr); | 659 AssembleArchLookupSwitch(instr); |
| 660 break; | 660 break; |
| 661 case kArchTableSwitch: | 661 case kArchTableSwitch: |
| 662 AssembleArchTableSwitch(instr); | 662 AssembleArchTableSwitch(instr); |
| 663 break; | 663 break; |
| 664 case kArchDebugBreak: | 664 case kArchDebugBreak: |
| 665 __ stop("kArchDebugBreak"); | 665 __ stop("kArchDebugBreak"); |
| 666 break; | 666 break; |
| 667 case kArchComment: { |
| 668 Address comment_string = i.InputExternalReference(0).address(); |
| 669 __ RecordComment(reinterpret_cast<const char*>(comment_string)); |
| 670 break; |
| 671 } |
| 667 case kArchNop: | 672 case kArchNop: |
| 668 case kArchThrowTerminator: | 673 case kArchThrowTerminator: |
| 669 // don't emit code for nops. | 674 // don't emit code for nops. |
| 670 break; | 675 break; |
| 671 case kArchDeoptimize: { | 676 case kArchDeoptimize: { |
| 672 int deopt_state_id = | 677 int deopt_state_id = |
| 673 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); | 678 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); |
| 674 Deoptimizer::BailoutType bailout_type = | 679 Deoptimizer::BailoutType bailout_type = |
| 675 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); | 680 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); |
| 676 CodeGenResult result = | 681 CodeGenResult result = |
| (...skipping 1573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2250 padding_size -= v8::internal::Assembler::kInstrSize; | 2255 padding_size -= v8::internal::Assembler::kInstrSize; |
| 2251 } | 2256 } |
| 2252 } | 2257 } |
| 2253 } | 2258 } |
| 2254 | 2259 |
| 2255 #undef __ | 2260 #undef __ |
| 2256 | 2261 |
| 2257 } // namespace compiler | 2262 } // namespace compiler |
| 2258 } // namespace internal | 2263 } // namespace internal |
| 2259 } // namespace v8 | 2264 } // namespace v8 |
| OLD | NEW |