| 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/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 726 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 737       break; | 737       break; | 
| 738     case kArchLookupSwitch: | 738     case kArchLookupSwitch: | 
| 739       AssembleArchLookupSwitch(instr); | 739       AssembleArchLookupSwitch(instr); | 
| 740       DCHECK_EQ(LeaveRC, i.OutputRCBit()); | 740       DCHECK_EQ(LeaveRC, i.OutputRCBit()); | 
| 741       break; | 741       break; | 
| 742     case kArchTableSwitch: | 742     case kArchTableSwitch: | 
| 743       AssembleArchTableSwitch(instr); | 743       AssembleArchTableSwitch(instr); | 
| 744       DCHECK_EQ(LeaveRC, i.OutputRCBit()); | 744       DCHECK_EQ(LeaveRC, i.OutputRCBit()); | 
| 745       break; | 745       break; | 
| 746     case kArchNop: | 746     case kArchNop: | 
|  | 747     case kArchThrowTerminator: | 
| 747       // don't emit code for nops. | 748       // don't emit code for nops. | 
| 748       DCHECK_EQ(LeaveRC, i.OutputRCBit()); | 749       DCHECK_EQ(LeaveRC, i.OutputRCBit()); | 
| 749       break; | 750       break; | 
| 750     case kArchDeoptimize: { | 751     case kArchDeoptimize: { | 
| 751       int deopt_state_id = | 752       int deopt_state_id = | 
| 752           BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); | 753           BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); | 
| 753       AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER); | 754       AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER); | 
| 754       break; | 755       break; | 
| 755     } | 756     } | 
| 756     case kArchRet: | 757     case kArchRet: | 
| (...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1759       padding_size -= v8::internal::Assembler::kInstrSize; | 1760       padding_size -= v8::internal::Assembler::kInstrSize; | 
| 1760     } | 1761     } | 
| 1761   } | 1762   } | 
| 1762 } | 1763 } | 
| 1763 | 1764 | 
| 1764 #undef __ | 1765 #undef __ | 
| 1765 | 1766 | 
| 1766 }  // namespace compiler | 1767 }  // namespace compiler | 
| 1767 }  // namespace internal | 1768 }  // namespace internal | 
| 1768 }  // namespace v8 | 1769 }  // namespace v8 | 
| OLD | NEW | 
|---|