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 2300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2311 } | 2311 } |
2312 | 2312 |
2313 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2313 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
2314 LOperand* object = UseRegister(instr->object()); | 2314 LOperand* object = UseRegister(instr->object()); |
2315 LOperand* index = UseTempRegister(instr->index()); | 2315 LOperand* index = UseTempRegister(instr->index()); |
2316 LLoadFieldByIndex* load = new (zone()) LLoadFieldByIndex(object, index); | 2316 LLoadFieldByIndex* load = new (zone()) LLoadFieldByIndex(object, index); |
2317 LInstruction* result = DefineSameAsFirst(load); | 2317 LInstruction* result = DefineSameAsFirst(load); |
2318 return AssignPointerMap(result); | 2318 return AssignPointerMap(result); |
2319 } | 2319 } |
2320 | 2320 |
2321 LInstruction* LChunkBuilder::DoStoreFrameContext(HStoreFrameContext* instr) { | |
2322 LOperand* context = UseRegisterAtStart(instr->context()); | |
2323 return new (zone()) LStoreFrameContext(context); | |
2324 } | |
2325 | |
2326 } // namespace internal | 2321 } // namespace internal |
2327 } // namespace v8 | 2322 } // namespace v8 |
OLD | NEW |