| 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/compiler/code-generator.h" | 5 #include "src/compiler/code-generator.h" |
| 6 | 6 |
| 7 #include "src/arm/macro-assembler-arm.h" | 7 #include "src/arm/macro-assembler-arm.h" |
| 8 #include "src/ast/scopes.h" | 8 #include "src/ast/scopes.h" |
| 9 #include "src/compiler/code-generator-impl.h" | 9 #include "src/compiler/code-generator-impl.h" |
| 10 #include "src/compiler/gap-resolver.h" | 10 #include "src/compiler/gap-resolver.h" |
| (...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 577 DCHECK_EQ(LeaveCC, i.OutputSBit()); | 577 DCHECK_EQ(LeaveCC, i.OutputSBit()); |
| 578 break; | 578 break; |
| 579 case kArchLookupSwitch: | 579 case kArchLookupSwitch: |
| 580 AssembleArchLookupSwitch(instr); | 580 AssembleArchLookupSwitch(instr); |
| 581 DCHECK_EQ(LeaveCC, i.OutputSBit()); | 581 DCHECK_EQ(LeaveCC, i.OutputSBit()); |
| 582 break; | 582 break; |
| 583 case kArchTableSwitch: | 583 case kArchTableSwitch: |
| 584 AssembleArchTableSwitch(instr); | 584 AssembleArchTableSwitch(instr); |
| 585 DCHECK_EQ(LeaveCC, i.OutputSBit()); | 585 DCHECK_EQ(LeaveCC, i.OutputSBit()); |
| 586 break; | 586 break; |
| 587 case kArchDebugBreak: |
| 588 __ stop("kArchDebugBreak"); |
| 589 break; |
| 587 case kArchNop: | 590 case kArchNop: |
| 588 case kArchThrowTerminator: | 591 case kArchThrowTerminator: |
| 589 // don't emit code for nops. | 592 // don't emit code for nops. |
| 590 DCHECK_EQ(LeaveCC, i.OutputSBit()); | 593 DCHECK_EQ(LeaveCC, i.OutputSBit()); |
| 591 break; | 594 break; |
| 592 case kArchDeoptimize: { | 595 case kArchDeoptimize: { |
| 593 int deopt_state_id = | 596 int deopt_state_id = |
| 594 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); | 597 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); |
| 595 Deoptimizer::BailoutType bailout_type = | 598 Deoptimizer::BailoutType bailout_type = |
| 596 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); | 599 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); |
| (...skipping 1099 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1696 padding_size -= v8::internal::Assembler::kInstrSize; | 1699 padding_size -= v8::internal::Assembler::kInstrSize; |
| 1697 } | 1700 } |
| 1698 } | 1701 } |
| 1699 } | 1702 } |
| 1700 | 1703 |
| 1701 #undef __ | 1704 #undef __ |
| 1702 | 1705 |
| 1703 } // namespace compiler | 1706 } // namespace compiler |
| 1704 } // namespace internal | 1707 } // namespace internal |
| 1705 } // namespace v8 | 1708 } // namespace v8 |
| OLD | NEW |