| 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_X87 | 7 #if V8_TARGET_ARCH_X87 |
| 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 2167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2178 // LCodeGen::DoLoadKeyedFixedArray | 2178 // LCodeGen::DoLoadKeyedFixedArray |
| 2179 instr->RequiresHoleCheck()) { | 2179 instr->RequiresHoleCheck()) { |
| 2180 result = AssignEnvironment(result); | 2180 result = AssignEnvironment(result); |
| 2181 } | 2181 } |
| 2182 return result; | 2182 return result; |
| 2183 } | 2183 } |
| 2184 | 2184 |
| 2185 | 2185 |
| 2186 LInstruction* LChunkBuilder::DoLoadKeyedGeneric(HLoadKeyedGeneric* instr) { | 2186 LInstruction* LChunkBuilder::DoLoadKeyedGeneric(HLoadKeyedGeneric* instr) { |
| 2187 LOperand* context = UseFixed(instr->context(), esi); | 2187 LOperand* context = UseFixed(instr->context(), esi); |
| 2188 LOperand* object = UseFixed(instr->object(), KeyedLoadIC::ReceiverRegister()); | 2188 LOperand* object = UseFixed(instr->object(), LoadIC::ReceiverRegister()); |
| 2189 LOperand* key = UseFixed(instr->key(), KeyedLoadIC::NameRegister()); | 2189 LOperand* key = UseFixed(instr->key(), LoadIC::NameRegister()); |
| 2190 | 2190 |
| 2191 LLoadKeyedGeneric* result = | 2191 LLoadKeyedGeneric* result = |
| 2192 new(zone()) LLoadKeyedGeneric(context, object, key); | 2192 new(zone()) LLoadKeyedGeneric(context, object, key); |
| 2193 return MarkAsCall(DefineFixed(result, eax), instr); | 2193 return MarkAsCall(DefineFixed(result, eax), instr); |
| 2194 } | 2194 } |
| 2195 | 2195 |
| 2196 | 2196 |
| 2197 LOperand* LChunkBuilder::GetStoreKeyedValueOperand(HStoreKeyed* instr) { | 2197 LOperand* LChunkBuilder::GetStoreKeyedValueOperand(HStoreKeyed* instr) { |
| 2198 ElementsKind elements_kind = instr->elements_kind(); | 2198 ElementsKind elements_kind = instr->elements_kind(); |
| 2199 | 2199 |
| (...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2652 LOperand* function = UseRegisterAtStart(instr->function()); | 2652 LOperand* function = UseRegisterAtStart(instr->function()); |
| 2653 LAllocateBlockContext* result = | 2653 LAllocateBlockContext* result = |
| 2654 new(zone()) LAllocateBlockContext(context, function); | 2654 new(zone()) LAllocateBlockContext(context, function); |
| 2655 return MarkAsCall(DefineFixed(result, esi), instr); | 2655 return MarkAsCall(DefineFixed(result, esi), instr); |
| 2656 } | 2656 } |
| 2657 | 2657 |
| 2658 | 2658 |
| 2659 } } // namespace v8::internal | 2659 } } // namespace v8::internal |
| 2660 | 2660 |
| 2661 #endif // V8_TARGET_ARCH_X87 | 2661 #endif // V8_TARGET_ARCH_X87 |
| OLD | NEW |