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/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/arm64/lithium-arm64.h" | 7 #include "src/arm64/lithium-arm64.h" |
8 #include "src/arm64/lithium-codegen-arm64.h" | 8 #include "src/arm64/lithium-codegen-arm64.h" |
9 #include "src/hydrogen-osr.h" | 9 #include "src/hydrogen-osr.h" |
10 #include "src/lithium-allocator-inl.h" | 10 #include "src/lithium-allocator-inl.h" |
(...skipping 1697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1708 !instr->CheckFlag(HInstruction::kUint32)) { | 1708 !instr->CheckFlag(HInstruction::kUint32)) { |
1709 result = AssignEnvironment(result); | 1709 result = AssignEnvironment(result); |
1710 } | 1710 } |
1711 return result; | 1711 return result; |
1712 } | 1712 } |
1713 } | 1713 } |
1714 | 1714 |
1715 | 1715 |
1716 LInstruction* LChunkBuilder::DoLoadKeyedGeneric(HLoadKeyedGeneric* instr) { | 1716 LInstruction* LChunkBuilder::DoLoadKeyedGeneric(HLoadKeyedGeneric* instr) { |
1717 LOperand* context = UseFixed(instr->context(), cp); | 1717 LOperand* context = UseFixed(instr->context(), cp); |
1718 LOperand* object = UseFixed(instr->object(), KeyedLoadIC::ReceiverRegister()); | 1718 LOperand* object = UseFixed(instr->object(), LoadIC::ReceiverRegister()); |
1719 LOperand* key = UseFixed(instr->key(), KeyedLoadIC::NameRegister()); | 1719 LOperand* key = UseFixed(instr->key(), LoadIC::NameRegister()); |
1720 | 1720 |
1721 LInstruction* result = | 1721 LInstruction* result = |
1722 DefineFixed(new(zone()) LLoadKeyedGeneric(context, object, key), x0); | 1722 DefineFixed(new(zone()) LLoadKeyedGeneric(context, object, key), x0); |
1723 return MarkAsCall(result, instr); | 1723 return MarkAsCall(result, instr); |
1724 } | 1724 } |
1725 | 1725 |
1726 | 1726 |
1727 LInstruction* LChunkBuilder::DoLoadNamedField(HLoadNamedField* instr) { | 1727 LInstruction* LChunkBuilder::DoLoadNamedField(HLoadNamedField* instr) { |
1728 LOperand* object = UseRegisterAtStart(instr->object()); | 1728 LOperand* object = UseRegisterAtStart(instr->object()); |
1729 return DefineAsRegister(new(zone()) LLoadNamedField(object)); | 1729 return DefineAsRegister(new(zone()) LLoadNamedField(object)); |
(...skipping 987 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2717 HAllocateBlockContext* instr) { | 2717 HAllocateBlockContext* instr) { |
2718 LOperand* context = UseFixed(instr->context(), cp); | 2718 LOperand* context = UseFixed(instr->context(), cp); |
2719 LOperand* function = UseRegisterAtStart(instr->function()); | 2719 LOperand* function = UseRegisterAtStart(instr->function()); |
2720 LAllocateBlockContext* result = | 2720 LAllocateBlockContext* result = |
2721 new(zone()) LAllocateBlockContext(context, function); | 2721 new(zone()) LAllocateBlockContext(context, function); |
2722 return MarkAsCall(DefineFixed(result, cp), instr); | 2722 return MarkAsCall(DefineFixed(result, cp), instr); |
2723 } | 2723 } |
2724 | 2724 |
2725 | 2725 |
2726 } } // namespace v8::internal | 2726 } } // namespace v8::internal |
OLD | NEW |