| 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 #include "src/compiler/code-generator-impl.h" | 6 #include "src/compiler/code-generator-impl.h" | 
| 7 #include "src/compiler/gap-resolver.h" | 7 #include "src/compiler/gap-resolver.h" | 
| 8 #include "src/compiler/node-matchers.h" | 8 #include "src/compiler/node-matchers.h" | 
| 9 #include "src/compiler/osr.h" | 9 #include "src/compiler/osr.h" | 
| 10 #include "src/mips/macro-assembler-mips.h" | 10 #include "src/mips/macro-assembler-mips.h" | 
| (...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 566     case kArchJmp: | 566     case kArchJmp: | 
| 567       AssembleArchJump(i.InputRpo(0)); | 567       AssembleArchJump(i.InputRpo(0)); | 
| 568       break; | 568       break; | 
| 569     case kArchLookupSwitch: | 569     case kArchLookupSwitch: | 
| 570       AssembleArchLookupSwitch(instr); | 570       AssembleArchLookupSwitch(instr); | 
| 571       break; | 571       break; | 
| 572     case kArchTableSwitch: | 572     case kArchTableSwitch: | 
| 573       AssembleArchTableSwitch(instr); | 573       AssembleArchTableSwitch(instr); | 
| 574       break; | 574       break; | 
| 575     case kArchNop: | 575     case kArchNop: | 
|  | 576     case kArchThrowTerminator: | 
| 576       // don't emit code for nops. | 577       // don't emit code for nops. | 
| 577       break; | 578       break; | 
| 578     case kArchDeoptimize: { | 579     case kArchDeoptimize: { | 
| 579       int deopt_state_id = | 580       int deopt_state_id = | 
| 580           BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); | 581           BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); | 
| 581       AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER); | 582       AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER); | 
| 582       break; | 583       break; | 
| 583     } | 584     } | 
| 584     case kArchRet: | 585     case kArchRet: | 
| 585       AssembleReturn(); | 586       AssembleReturn(); | 
| (...skipping 1142 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1728       padding_size -= v8::internal::Assembler::kInstrSize; | 1729       padding_size -= v8::internal::Assembler::kInstrSize; | 
| 1729     } | 1730     } | 
| 1730   } | 1731   } | 
| 1731 } | 1732 } | 
| 1732 | 1733 | 
| 1733 #undef __ | 1734 #undef __ | 
| 1734 | 1735 | 
| 1735 }  // namespace compiler | 1736 }  // namespace compiler | 
| 1736 }  // namespace internal | 1737 }  // namespace internal | 
| 1737 }  // namespace v8 | 1738 }  // namespace v8 | 
| OLD | NEW | 
|---|