| 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/crankshaft/s390/lithium-s390.h" | 5 #include "src/crankshaft/s390/lithium-s390.h" |
| 6 | 6 |
| 7 #include <sstream> | 7 #include <sstream> |
| 8 | 8 |
| 9 #include "src/crankshaft/hydrogen-osr.h" | 9 #include "src/crankshaft/hydrogen-osr.h" |
| 10 #include "src/crankshaft/lithium-inl.h" | 10 #include "src/crankshaft/lithium-inl.h" |
| (...skipping 832 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 843 } | 843 } |
| 844 LInstruction* bailout = LChunkBuilderBase::AssignEnvironment( | 844 LInstruction* bailout = LChunkBuilderBase::AssignEnvironment( |
| 845 new (zone()) LLazyBailout(), hydrogen_env); | 845 new (zone()) LLazyBailout(), hydrogen_env); |
| 846 bailout->set_hydrogen_value(hydrogen_value_for_lazy_bailout); | 846 bailout->set_hydrogen_value(hydrogen_value_for_lazy_bailout); |
| 847 chunk_->AddInstruction(bailout, current_block_); | 847 chunk_->AddInstruction(bailout, current_block_); |
| 848 } | 848 } |
| 849 } | 849 } |
| 850 | 850 |
| 851 LInstruction* LChunkBuilder::DoPrologue(HPrologue* instr) { | 851 LInstruction* LChunkBuilder::DoPrologue(HPrologue* instr) { |
| 852 LInstruction* result = new (zone()) LPrologue(); | 852 LInstruction* result = new (zone()) LPrologue(); |
| 853 if (info_->num_heap_slots() > 0) { | 853 if (info_->scope()->num_heap_slots() > 0) { |
| 854 result = MarkAsCall(result, instr); | 854 result = MarkAsCall(result, instr); |
| 855 } | 855 } |
| 856 return result; | 856 return result; |
| 857 } | 857 } |
| 858 | 858 |
| 859 LInstruction* LChunkBuilder::DoGoto(HGoto* instr) { | 859 LInstruction* LChunkBuilder::DoGoto(HGoto* instr) { |
| 860 return new (zone()) LGoto(instr->FirstSuccessor()); | 860 return new (zone()) LGoto(instr->FirstSuccessor()); |
| 861 } | 861 } |
| 862 | 862 |
| 863 LInstruction* LChunkBuilder::DoBranch(HBranch* instr) { | 863 LInstruction* LChunkBuilder::DoBranch(HBranch* instr) { |
| (...skipping 1452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2316 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2316 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2317 LOperand* object = UseRegister(instr->object()); | 2317 LOperand* object = UseRegister(instr->object()); |
| 2318 LOperand* index = UseTempRegister(instr->index()); | 2318 LOperand* index = UseTempRegister(instr->index()); |
| 2319 LLoadFieldByIndex* load = new (zone()) LLoadFieldByIndex(object, index); | 2319 LLoadFieldByIndex* load = new (zone()) LLoadFieldByIndex(object, index); |
| 2320 LInstruction* result = DefineSameAsFirst(load); | 2320 LInstruction* result = DefineSameAsFirst(load); |
| 2321 return AssignPointerMap(result); | 2321 return AssignPointerMap(result); |
| 2322 } | 2322 } |
| 2323 | 2323 |
| 2324 } // namespace internal | 2324 } // namespace internal |
| 2325 } // namespace v8 | 2325 } // namespace v8 |
| OLD | NEW |