| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 #if V8_TARGET_ARCH_X64 | 7 #if V8_TARGET_ARCH_X64 |
| 8 | 8 |
| 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 2176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2187 // LCodeGen::DoLoadKeyedFixedArray | 2187 // LCodeGen::DoLoadKeyedFixedArray |
| 2188 instr->RequiresHoleCheck()) { | 2188 instr->RequiresHoleCheck()) { |
| 2189 result = AssignEnvironment(result); | 2189 result = AssignEnvironment(result); |
| 2190 } | 2190 } |
| 2191 return result; | 2191 return result; |
| 2192 } | 2192 } |
| 2193 | 2193 |
| 2194 | 2194 |
| 2195 LInstruction* LChunkBuilder::DoLoadKeyedGeneric(HLoadKeyedGeneric* instr) { | 2195 LInstruction* LChunkBuilder::DoLoadKeyedGeneric(HLoadKeyedGeneric* instr) { |
| 2196 LOperand* context = UseFixed(instr->context(), rsi); | 2196 LOperand* context = UseFixed(instr->context(), rsi); |
| 2197 LOperand* object = UseFixed(instr->object(), KeyedLoadIC::ReceiverRegister()); | 2197 LOperand* object = UseFixed(instr->object(), LoadIC::ReceiverRegister()); |
| 2198 LOperand* key = UseFixed(instr->key(), KeyedLoadIC::NameRegister()); | 2198 LOperand* key = UseFixed(instr->key(), LoadIC::NameRegister()); |
| 2199 | 2199 |
| 2200 LLoadKeyedGeneric* result = | 2200 LLoadKeyedGeneric* result = |
| 2201 new(zone()) LLoadKeyedGeneric(context, object, key); | 2201 new(zone()) LLoadKeyedGeneric(context, object, key); |
| 2202 return MarkAsCall(DefineFixed(result, rax), instr); | 2202 return MarkAsCall(DefineFixed(result, rax), instr); |
| 2203 } | 2203 } |
| 2204 | 2204 |
| 2205 | 2205 |
| 2206 LInstruction* LChunkBuilder::DoStoreKeyed(HStoreKeyed* instr) { | 2206 LInstruction* LChunkBuilder::DoStoreKeyed(HStoreKeyed* instr) { |
| 2207 ElementsKind elements_kind = instr->elements_kind(); | 2207 ElementsKind elements_kind = instr->elements_kind(); |
| 2208 | 2208 |
| (...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2641 LOperand* function = UseRegisterAtStart(instr->function()); | 2641 LOperand* function = UseRegisterAtStart(instr->function()); |
| 2642 LAllocateBlockContext* result = | 2642 LAllocateBlockContext* result = |
| 2643 new(zone()) LAllocateBlockContext(context, function); | 2643 new(zone()) LAllocateBlockContext(context, function); |
| 2644 return MarkAsCall(DefineFixed(result, rsi), instr); | 2644 return MarkAsCall(DefineFixed(result, rsi), instr); |
| 2645 } | 2645 } |
| 2646 | 2646 |
| 2647 | 2647 |
| 2648 } } // namespace v8::internal | 2648 } } // namespace v8::internal |
| 2649 | 2649 |
| 2650 #endif // V8_TARGET_ARCH_X64 | 2650 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |