| 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 #include "src/lithium-allocator-inl.h" | 7 #include "src/lithium-allocator-inl.h" |
| 8 #include "src/mips/lithium-mips.h" | 8 #include "src/mips/lithium-mips.h" |
| 9 #include "src/mips/lithium-codegen-mips.h" | 9 #include "src/mips/lithium-codegen-mips.h" |
| 10 #include "src/hydrogen-osr.h" | 10 #include "src/hydrogen-osr.h" |
| (...skipping 2135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2146 LOperand* context = UseFixed(instr->context(), cp); | 2146 LOperand* context = UseFixed(instr->context(), cp); |
| 2147 LOperand* object = UseFixed(instr->object(), a1); | 2147 LOperand* object = UseFixed(instr->object(), a1); |
| 2148 LOperand* key = UseFixed(instr->key(), a0); | 2148 LOperand* key = UseFixed(instr->key(), a0); |
| 2149 | 2149 |
| 2150 LInstruction* result = | 2150 LInstruction* result = |
| 2151 DefineFixed(new(zone()) LLoadKeyedGeneric(context, object, key), v0); | 2151 DefineFixed(new(zone()) LLoadKeyedGeneric(context, object, key), v0); |
| 2152 return MarkAsCall(result, instr); | 2152 return MarkAsCall(result, instr); |
| 2153 } | 2153 } |
| 2154 | 2154 |
| 2155 | 2155 |
| 2156 LInstruction* LChunkBuilder::DoFillElements(HFillElements* instr) { |
| 2157 UNIMPLEMENTED(); |
| 2158 return NULL; |
| 2159 } |
| 2160 |
| 2161 |
| 2162 LInstruction* LChunkBuilder::DoCopyElements(HCopyElements* instr) { |
| 2163 UNIMPLEMENTED(); |
| 2164 return NULL; |
| 2165 } |
| 2166 |
| 2167 |
| 2156 LInstruction* LChunkBuilder::DoStoreKeyed(HStoreKeyed* instr) { | 2168 LInstruction* LChunkBuilder::DoStoreKeyed(HStoreKeyed* instr) { |
| 2157 if (!instr->is_typed_elements()) { | 2169 if (!instr->is_typed_elements()) { |
| 2158 ASSERT(instr->elements()->representation().IsTagged()); | 2170 ASSERT(instr->elements()->representation().IsTagged()); |
| 2159 bool needs_write_barrier = instr->NeedsWriteBarrier(); | 2171 bool needs_write_barrier = instr->NeedsWriteBarrier(); |
| 2160 LOperand* object = NULL; | 2172 LOperand* object = NULL; |
| 2161 LOperand* val = NULL; | 2173 LOperand* val = NULL; |
| 2162 LOperand* key = NULL; | 2174 LOperand* key = NULL; |
| 2163 | 2175 |
| 2164 if (instr->value()->representation().IsDouble()) { | 2176 if (instr->value()->representation().IsDouble()) { |
| 2165 object = UseRegisterAtStart(instr->elements()); | 2177 object = UseRegisterAtStart(instr->elements()); |
| (...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2536 LInstruction* LChunkBuilder::DoAllocateBlockContext( | 2548 LInstruction* LChunkBuilder::DoAllocateBlockContext( |
| 2537 HAllocateBlockContext* instr) { | 2549 HAllocateBlockContext* instr) { |
| 2538 LOperand* context = UseFixed(instr->context(), cp); | 2550 LOperand* context = UseFixed(instr->context(), cp); |
| 2539 LOperand* function = UseRegisterAtStart(instr->function()); | 2551 LOperand* function = UseRegisterAtStart(instr->function()); |
| 2540 LAllocateBlockContext* result = | 2552 LAllocateBlockContext* result = |
| 2541 new(zone()) LAllocateBlockContext(context, function); | 2553 new(zone()) LAllocateBlockContext(context, function); |
| 2542 return MarkAsCall(DefineFixed(result, cp), instr); | 2554 return MarkAsCall(DefineFixed(result, cp), instr); |
| 2543 } | 2555 } |
| 2544 | 2556 |
| 2545 } } // namespace v8::internal | 2557 } } // namespace v8::internal |
| OLD | NEW |