| 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 2186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2197 } | 2197 } |
| 2198 | 2198 |
| 2199 LInstruction* LChunkBuilder::DoAccessArgumentsAt(HAccessArgumentsAt* instr) { | 2199 LInstruction* LChunkBuilder::DoAccessArgumentsAt(HAccessArgumentsAt* instr) { |
| 2200 info()->MarkAsRequiresFrame(); | 2200 info()->MarkAsRequiresFrame(); |
| 2201 LOperand* args = UseRegister(instr->arguments()); | 2201 LOperand* args = UseRegister(instr->arguments()); |
| 2202 LOperand* length = UseRegisterOrConstantAtStart(instr->length()); | 2202 LOperand* length = UseRegisterOrConstantAtStart(instr->length()); |
| 2203 LOperand* index = UseRegisterOrConstantAtStart(instr->index()); | 2203 LOperand* index = UseRegisterOrConstantAtStart(instr->index()); |
| 2204 return DefineAsRegister(new (zone()) LAccessArgumentsAt(args, length, index)); | 2204 return DefineAsRegister(new (zone()) LAccessArgumentsAt(args, length, index)); |
| 2205 } | 2205 } |
| 2206 | 2206 |
| 2207 LInstruction* LChunkBuilder::DoToFastProperties(HToFastProperties* instr) { | |
| 2208 LOperand* object = UseFixed(instr->value(), r2); | |
| 2209 LToFastProperties* result = new (zone()) LToFastProperties(object); | |
| 2210 return MarkAsCall(DefineFixed(result, r2), instr); | |
| 2211 } | |
| 2212 | |
| 2213 LInstruction* LChunkBuilder::DoTypeof(HTypeof* instr) { | 2207 LInstruction* LChunkBuilder::DoTypeof(HTypeof* instr) { |
| 2214 LOperand* context = UseFixed(instr->context(), cp); | 2208 LOperand* context = UseFixed(instr->context(), cp); |
| 2215 LOperand* value = UseFixed(instr->value(), r5); | 2209 LOperand* value = UseFixed(instr->value(), r5); |
| 2216 LTypeof* result = new (zone()) LTypeof(context, value); | 2210 LTypeof* result = new (zone()) LTypeof(context, value); |
| 2217 return MarkAsCall(DefineFixed(result, r2), instr); | 2211 return MarkAsCall(DefineFixed(result, r2), instr); |
| 2218 } | 2212 } |
| 2219 | 2213 |
| 2220 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) { | 2214 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) { |
| 2221 return new (zone()) LTypeofIsAndBranch(UseRegister(instr->value())); | 2215 return new (zone()) LTypeofIsAndBranch(UseRegister(instr->value())); |
| 2222 } | 2216 } |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2301 return AssignPointerMap(result); | 2295 return AssignPointerMap(result); |
| 2302 } | 2296 } |
| 2303 | 2297 |
| 2304 LInstruction* LChunkBuilder::DoStoreFrameContext(HStoreFrameContext* instr) { | 2298 LInstruction* LChunkBuilder::DoStoreFrameContext(HStoreFrameContext* instr) { |
| 2305 LOperand* context = UseRegisterAtStart(instr->context()); | 2299 LOperand* context = UseRegisterAtStart(instr->context()); |
| 2306 return new (zone()) LStoreFrameContext(context); | 2300 return new (zone()) LStoreFrameContext(context); |
| 2307 } | 2301 } |
| 2308 | 2302 |
| 2309 } // namespace internal | 2303 } // namespace internal |
| 2310 } // namespace v8 | 2304 } // namespace v8 |
| OLD | NEW |