OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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/arm64/lithium-arm64.h" | 5 #include "src/arm64/lithium-arm64.h" |
6 | 6 |
7 #include <sstream> | 7 #include <sstream> |
8 | 8 |
9 #include "src/arm64/lithium-codegen-arm64.h" | 9 #include "src/arm64/lithium-codegen-arm64.h" |
10 #include "src/hydrogen-osr.h" | 10 #include "src/hydrogen-osr.h" |
(...skipping 1514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1525 | 1525 |
1526 LInstruction* LChunkBuilder::DoForceRepresentation( | 1526 LInstruction* LChunkBuilder::DoForceRepresentation( |
1527 HForceRepresentation* instr) { | 1527 HForceRepresentation* instr) { |
1528 // All HForceRepresentation instructions should be eliminated in the | 1528 // All HForceRepresentation instructions should be eliminated in the |
1529 // representation change phase of Hydrogen. | 1529 // representation change phase of Hydrogen. |
1530 UNREACHABLE(); | 1530 UNREACHABLE(); |
1531 return NULL; | 1531 return NULL; |
1532 } | 1532 } |
1533 | 1533 |
1534 | 1534 |
1535 LInstruction* LChunkBuilder::DoFunctionLiteral(HFunctionLiteral* instr) { | |
1536 LOperand* context = UseFixed(instr->context(), cp); | |
1537 return MarkAsCall( | |
1538 DefineFixed(new(zone()) LFunctionLiteral(context), x0), instr); | |
1539 } | |
1540 | |
1541 | |
1542 LInstruction* LChunkBuilder::DoGetCachedArrayIndex( | 1535 LInstruction* LChunkBuilder::DoGetCachedArrayIndex( |
1543 HGetCachedArrayIndex* instr) { | 1536 HGetCachedArrayIndex* instr) { |
1544 DCHECK(instr->value()->representation().IsTagged()); | 1537 DCHECK(instr->value()->representation().IsTagged()); |
1545 LOperand* value = UseRegisterAtStart(instr->value()); | 1538 LOperand* value = UseRegisterAtStart(instr->value()); |
1546 return DefineAsRegister(new(zone()) LGetCachedArrayIndex(value)); | 1539 return DefineAsRegister(new(zone()) LGetCachedArrayIndex(value)); |
1547 } | 1540 } |
1548 | 1541 |
1549 | 1542 |
1550 LInstruction* LChunkBuilder::DoGoto(HGoto* instr) { | 1543 LInstruction* LChunkBuilder::DoGoto(HGoto* instr) { |
1551 return new(zone()) LGoto(instr->FirstSuccessor()); | 1544 return new(zone()) LGoto(instr->FirstSuccessor()); |
(...skipping 1243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2795 LOperand* context = UseFixed(instr->context(), cp); | 2788 LOperand* context = UseFixed(instr->context(), cp); |
2796 LOperand* function = UseRegisterAtStart(instr->function()); | 2789 LOperand* function = UseRegisterAtStart(instr->function()); |
2797 LAllocateBlockContext* result = | 2790 LAllocateBlockContext* result = |
2798 new(zone()) LAllocateBlockContext(context, function); | 2791 new(zone()) LAllocateBlockContext(context, function); |
2799 return MarkAsCall(DefineFixed(result, cp), instr); | 2792 return MarkAsCall(DefineFixed(result, cp), instr); |
2800 } | 2793 } |
2801 | 2794 |
2802 | 2795 |
2803 } // namespace internal | 2796 } // namespace internal |
2804 } // namespace v8 | 2797 } // namespace v8 |
OLD | NEW |