| 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/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 737 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 748       break; | 748       break; | 
| 749     case kArchLookupSwitch: | 749     case kArchLookupSwitch: | 
| 750       AssembleArchLookupSwitch(instr); | 750       AssembleArchLookupSwitch(instr); | 
| 751       DCHECK_EQ(LeaveRC, i.OutputRCBit()); | 751       DCHECK_EQ(LeaveRC, i.OutputRCBit()); | 
| 752       break; | 752       break; | 
| 753     case kArchTableSwitch: | 753     case kArchTableSwitch: | 
| 754       AssembleArchTableSwitch(instr); | 754       AssembleArchTableSwitch(instr); | 
| 755       DCHECK_EQ(LeaveRC, i.OutputRCBit()); | 755       DCHECK_EQ(LeaveRC, i.OutputRCBit()); | 
| 756       break; | 756       break; | 
| 757     case kArchNop: | 757     case kArchNop: | 
| 758     case kArchThrowTerminator: |  | 
| 759       // don't emit code for nops. | 758       // don't emit code for nops. | 
| 760       DCHECK_EQ(LeaveRC, i.OutputRCBit()); | 759       DCHECK_EQ(LeaveRC, i.OutputRCBit()); | 
| 761       break; | 760       break; | 
| 762     case kArchDeoptimize: { | 761     case kArchDeoptimize: { | 
| 763       int deopt_state_id = | 762       int deopt_state_id = | 
| 764           BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); | 763           BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); | 
| 765       Deoptimizer::BailoutType bailout_type = | 764       Deoptimizer::BailoutType bailout_type = | 
| 766           Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); | 765           Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); | 
| 767       AssembleDeoptimizerCall(deopt_state_id, bailout_type); | 766       AssembleDeoptimizerCall(deopt_state_id, bailout_type); | 
| 768       break; | 767       break; | 
| (...skipping 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1806       padding_size -= v8::internal::Assembler::kInstrSize; | 1805       padding_size -= v8::internal::Assembler::kInstrSize; | 
| 1807     } | 1806     } | 
| 1808   } | 1807   } | 
| 1809 } | 1808 } | 
| 1810 | 1809 | 
| 1811 #undef __ | 1810 #undef __ | 
| 1812 | 1811 | 
| 1813 }  // namespace compiler | 1812 }  // namespace compiler | 
| 1814 }  // namespace internal | 1813 }  // namespace internal | 
| 1815 }  // namespace v8 | 1814 }  // namespace v8 | 
| OLD | NEW | 
|---|