| 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 1597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1608 LOperand* length = !index->IsConstantOperand() | 1608 LOperand* length = !index->IsConstantOperand() |
| 1609 ? UseRegisterOrConstantAtStart(instr->length()) | 1609 ? UseRegisterOrConstantAtStart(instr->length()) |
| 1610 : UseRegisterAtStart(instr->length()); | 1610 : UseRegisterAtStart(instr->length()); |
| 1611 LInstruction* result = new (zone()) LBoundsCheck(index, length); | 1611 LInstruction* result = new (zone()) LBoundsCheck(index, length); |
| 1612 if (!FLAG_debug_code || !instr->skip_check()) { | 1612 if (!FLAG_debug_code || !instr->skip_check()) { |
| 1613 result = AssignEnvironment(result); | 1613 result = AssignEnvironment(result); |
| 1614 } | 1614 } |
| 1615 return result; | 1615 return result; |
| 1616 } | 1616 } |
| 1617 | 1617 |
| 1618 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( | |
| 1619 HBoundsCheckBaseIndexInformation* instr) { | |
| 1620 UNREACHABLE(); | |
| 1621 return NULL; | |
| 1622 } | |
| 1623 | |
| 1624 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { | 1618 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { |
| 1625 // The control instruction marking the end of a block that completed | 1619 // The control instruction marking the end of a block that completed |
| 1626 // abruptly (e.g., threw an exception). There is nothing specific to do. | 1620 // abruptly (e.g., threw an exception). There is nothing specific to do. |
| 1627 return NULL; | 1621 return NULL; |
| 1628 } | 1622 } |
| 1629 | 1623 |
| 1630 LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { return NULL; } | 1624 LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { return NULL; } |
| 1631 | 1625 |
| 1632 LInstruction* LChunkBuilder::DoForceRepresentation(HForceRepresentation* bad) { | 1626 LInstruction* LChunkBuilder::DoForceRepresentation(HForceRepresentation* bad) { |
| 1633 // All HForceRepresentation instructions should be eliminated in the | 1627 // All HForceRepresentation instructions should be eliminated in the |
| (...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2299 return AssignPointerMap(result); | 2293 return AssignPointerMap(result); |
| 2300 } | 2294 } |
| 2301 | 2295 |
| 2302 LInstruction* LChunkBuilder::DoStoreFrameContext(HStoreFrameContext* instr) { | 2296 LInstruction* LChunkBuilder::DoStoreFrameContext(HStoreFrameContext* instr) { |
| 2303 LOperand* context = UseRegisterAtStart(instr->context()); | 2297 LOperand* context = UseRegisterAtStart(instr->context()); |
| 2304 return new (zone()) LStoreFrameContext(context); | 2298 return new (zone()) LStoreFrameContext(context); |
| 2305 } | 2299 } |
| 2306 | 2300 |
| 2307 } // namespace internal | 2301 } // namespace internal |
| 2308 } // namespace v8 | 2302 } // namespace v8 |
| OLD | NEW |