| OLD | NEW | 
|---|
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 702 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 713     } | 713     } | 
| 714     case kArchJmp: | 714     case kArchJmp: | 
| 715       AssembleArchJump(i.InputRpo(0)); | 715       AssembleArchJump(i.InputRpo(0)); | 
| 716       break; | 716       break; | 
| 717     case kArchLookupSwitch: | 717     case kArchLookupSwitch: | 
| 718       AssembleArchLookupSwitch(instr); | 718       AssembleArchLookupSwitch(instr); | 
| 719       break; | 719       break; | 
| 720     case kArchTableSwitch: | 720     case kArchTableSwitch: | 
| 721       AssembleArchTableSwitch(instr); | 721       AssembleArchTableSwitch(instr); | 
| 722       break; | 722       break; | 
|  | 723     case kArchDebugBreak: | 
|  | 724       __ stop("kArchDebugBreak"); | 
|  | 725       break; | 
| 723     case kArchNop: | 726     case kArchNop: | 
| 724     case kArchThrowTerminator: | 727     case kArchThrowTerminator: | 
| 725       // don't emit code for nops. | 728       // don't emit code for nops. | 
| 726       break; | 729       break; | 
| 727     case kArchDeoptimize: { | 730     case kArchDeoptimize: { | 
| 728       int deopt_state_id = | 731       int deopt_state_id = | 
| 729           BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); | 732           BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); | 
| 730       Deoptimizer::BailoutType bailout_type = | 733       Deoptimizer::BailoutType bailout_type = | 
| 731           Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); | 734           Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); | 
| 732       CodeGenResult result = | 735       CodeGenResult result = | 
| (...skipping 1390 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2123       padding_size -= 2; | 2126       padding_size -= 2; | 
| 2124     } | 2127     } | 
| 2125   } | 2128   } | 
| 2126 } | 2129 } | 
| 2127 | 2130 | 
| 2128 #undef __ | 2131 #undef __ | 
| 2129 | 2132 | 
| 2130 }  // namespace compiler | 2133 }  // namespace compiler | 
| 2131 }  // namespace internal | 2134 }  // namespace internal | 
| 2132 }  // namespace v8 | 2135 }  // namespace v8 | 
| OLD | NEW | 
|---|