| 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_IA32 | 7 #if V8_TARGET_ARCH_IA32 |
| 8 | 8 |
| 9 #include "src/lithium-allocator-inl.h" | 9 #include "src/lithium-allocator-inl.h" |
| 10 #include "src/ia32/lithium-ia32.h" | 10 #include "src/ia32/lithium-ia32.h" |
| (...skipping 2194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2205 LOperand* context = UseFixed(instr->context(), esi); | 2205 LOperand* context = UseFixed(instr->context(), esi); |
| 2206 LOperand* object = UseFixed(instr->object(), edx); | 2206 LOperand* object = UseFixed(instr->object(), edx); |
| 2207 LOperand* key = UseFixed(instr->key(), ecx); | 2207 LOperand* key = UseFixed(instr->key(), ecx); |
| 2208 | 2208 |
| 2209 LLoadKeyedGeneric* result = | 2209 LLoadKeyedGeneric* result = |
| 2210 new(zone()) LLoadKeyedGeneric(context, object, key); | 2210 new(zone()) LLoadKeyedGeneric(context, object, key); |
| 2211 return MarkAsCall(DefineFixed(result, eax), instr); | 2211 return MarkAsCall(DefineFixed(result, eax), instr); |
| 2212 } | 2212 } |
| 2213 | 2213 |
| 2214 | 2214 |
| 2215 LInstruction* LChunkBuilder::DoFillElements(HFillElements* instr) { |
| 2216 UNIMPLEMENTED(); |
| 2217 return NULL; |
| 2218 } |
| 2219 |
| 2220 |
| 2221 LInstruction* LChunkBuilder::DoCopyElements(HCopyElements* instr) { |
| 2222 UNIMPLEMENTED(); |
| 2223 return NULL; |
| 2224 } |
| 2225 |
| 2226 |
| 2215 LOperand* LChunkBuilder::GetStoreKeyedValueOperand(HStoreKeyed* instr) { | 2227 LOperand* LChunkBuilder::GetStoreKeyedValueOperand(HStoreKeyed* instr) { |
| 2216 ElementsKind elements_kind = instr->elements_kind(); | 2228 ElementsKind elements_kind = instr->elements_kind(); |
| 2217 | 2229 |
| 2218 // Determine if we need a byte register in this case for the value. | 2230 // Determine if we need a byte register in this case for the value. |
| 2219 bool val_is_fixed_register = | 2231 bool val_is_fixed_register = |
| 2220 elements_kind == EXTERNAL_INT8_ELEMENTS || | 2232 elements_kind == EXTERNAL_INT8_ELEMENTS || |
| 2221 elements_kind == EXTERNAL_UINT8_ELEMENTS || | 2233 elements_kind == EXTERNAL_UINT8_ELEMENTS || |
| 2222 elements_kind == EXTERNAL_UINT8_CLAMPED_ELEMENTS || | 2234 elements_kind == EXTERNAL_UINT8_CLAMPED_ELEMENTS || |
| 2223 elements_kind == UINT8_ELEMENTS || | 2235 elements_kind == UINT8_ELEMENTS || |
| 2224 elements_kind == INT8_ELEMENTS || | 2236 elements_kind == INT8_ELEMENTS || |
| (...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2666 LOperand* function = UseRegisterAtStart(instr->function()); | 2678 LOperand* function = UseRegisterAtStart(instr->function()); |
| 2667 LAllocateBlockContext* result = | 2679 LAllocateBlockContext* result = |
| 2668 new(zone()) LAllocateBlockContext(context, function); | 2680 new(zone()) LAllocateBlockContext(context, function); |
| 2669 return MarkAsCall(DefineFixed(result, esi), instr); | 2681 return MarkAsCall(DefineFixed(result, esi), instr); |
| 2670 } | 2682 } |
| 2671 | 2683 |
| 2672 | 2684 |
| 2673 } } // namespace v8::internal | 2685 } } // namespace v8::internal |
| 2674 | 2686 |
| 2675 #endif // V8_TARGET_ARCH_IA32 | 2687 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |