| 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/lithium-allocator-inl.h" | 9 #include "src/lithium-allocator-inl.h" |
| 10 #include "src/x64/lithium-x64.h" | 10 #include "src/x64/lithium-x64.h" |
| (...skipping 2155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2166 LOperand* context = UseFixed(instr->context(), rsi); | 2166 LOperand* context = UseFixed(instr->context(), rsi); |
| 2167 LOperand* object = UseFixed(instr->object(), rdx); | 2167 LOperand* object = UseFixed(instr->object(), rdx); |
| 2168 LOperand* key = UseFixed(instr->key(), rax); | 2168 LOperand* key = UseFixed(instr->key(), rax); |
| 2169 | 2169 |
| 2170 LLoadKeyedGeneric* result = | 2170 LLoadKeyedGeneric* result = |
| 2171 new(zone()) LLoadKeyedGeneric(context, object, key); | 2171 new(zone()) LLoadKeyedGeneric(context, object, key); |
| 2172 return MarkAsCall(DefineFixed(result, rax), instr); | 2172 return MarkAsCall(DefineFixed(result, rax), instr); |
| 2173 } | 2173 } |
| 2174 | 2174 |
| 2175 | 2175 |
| 2176 LInstruction* LChunkBuilder::DoFillElements(HFillElements* instr) { |
| 2177 UNIMPLEMENTED(); |
| 2178 return NULL; |
| 2179 } |
| 2180 |
| 2181 |
| 2182 LInstruction* LChunkBuilder::DoCopyElements(HCopyElements* instr) { |
| 2183 UNIMPLEMENTED(); |
| 2184 return NULL; |
| 2185 } |
| 2186 |
| 2187 |
| 2176 LInstruction* LChunkBuilder::DoStoreKeyed(HStoreKeyed* instr) { | 2188 LInstruction* LChunkBuilder::DoStoreKeyed(HStoreKeyed* instr) { |
| 2177 ElementsKind elements_kind = instr->elements_kind(); | 2189 ElementsKind elements_kind = instr->elements_kind(); |
| 2178 | 2190 |
| 2179 if ((kPointerSize == kInt64Size) && instr->IsDehoisted()) { | 2191 if ((kPointerSize == kInt64Size) && instr->IsDehoisted()) { |
| 2180 FindDehoistedKeyDefinitions(instr->key()); | 2192 FindDehoistedKeyDefinitions(instr->key()); |
| 2181 } | 2193 } |
| 2182 | 2194 |
| 2183 if (!instr->is_typed_elements()) { | 2195 if (!instr->is_typed_elements()) { |
| 2184 ASSERT(instr->elements()->representation().IsTagged()); | 2196 ASSERT(instr->elements()->representation().IsTagged()); |
| 2185 bool needs_write_barrier = instr->NeedsWriteBarrier(); | 2197 bool needs_write_barrier = instr->NeedsWriteBarrier(); |
| (...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2602 LOperand* function = UseRegisterAtStart(instr->function()); | 2614 LOperand* function = UseRegisterAtStart(instr->function()); |
| 2603 LAllocateBlockContext* result = | 2615 LAllocateBlockContext* result = |
| 2604 new(zone()) LAllocateBlockContext(context, function); | 2616 new(zone()) LAllocateBlockContext(context, function); |
| 2605 return MarkAsCall(DefineFixed(result, rsi), instr); | 2617 return MarkAsCall(DefineFixed(result, rsi), instr); |
| 2606 } | 2618 } |
| 2607 | 2619 |
| 2608 | 2620 |
| 2609 } } // namespace v8::internal | 2621 } } // namespace v8::internal |
| 2610 | 2622 |
| 2611 #endif // V8_TARGET_ARCH_X64 | 2623 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |