OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 #if V8_TARGET_ARCH_MIPS | 5 #if V8_TARGET_ARCH_MIPS |
6 | 6 |
7 #include "src/ic/call-optimization.h" | 7 #include "src/ic/call-optimization.h" |
8 #include "src/ic/handler-compiler.h" | 8 #include "src/ic/handler-compiler.h" |
9 #include "src/ic/ic.h" | 9 #include "src/ic/ic.h" |
10 #include "src/isolate-inl.h" | 10 #include "src/isolate-inl.h" |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 __ li(this->name(), Operand(name)); | 339 __ li(this->name(), Operand(name)); |
340 } | 340 } |
341 } | 341 } |
342 | 342 |
343 | 343 |
344 void NamedStoreHandlerCompiler::GenerateRestoreName(Handle<Name> name) { | 344 void NamedStoreHandlerCompiler::GenerateRestoreName(Handle<Name> name) { |
345 __ li(this->name(), Operand(name)); | 345 __ li(this->name(), Operand(name)); |
346 } | 346 } |
347 | 347 |
348 | 348 |
349 void NamedStoreHandlerCompiler::GeneratePushMap(Register map_reg, | 349 void NamedStoreHandlerCompiler::RearrangeVectorAndSlot( |
350 Register scratch) { | 350 Register current_map, Register destination_map) { |
351 DCHECK(false); // Not implemented. | 351 DCHECK(false); // Not implemented. |
352 } | 352 } |
353 | 353 |
354 | 354 |
355 void NamedStoreHandlerCompiler::GenerateRestoreMap(Handle<Map> transition, | 355 void NamedStoreHandlerCompiler::GenerateRestoreMap(Handle<Map> transition, |
356 Register map_reg, | 356 Register map_reg, |
357 Register scratch, | 357 Register scratch, |
358 Label* miss) { | 358 Label* miss) { |
359 Handle<WeakCell> cell = Map::WeakCellForMap(transition); | 359 Handle<WeakCell> cell = Map::WeakCellForMap(transition); |
360 DCHECK(!map_reg.is(scratch)); | 360 DCHECK(!map_reg.is(scratch)); |
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
780 // Return the generated code. | 780 // Return the generated code. |
781 return GetCode(kind(), Code::NORMAL, name); | 781 return GetCode(kind(), Code::NORMAL, name); |
782 } | 782 } |
783 | 783 |
784 | 784 |
785 #undef __ | 785 #undef __ |
786 } // namespace internal | 786 } // namespace internal |
787 } // namespace v8 | 787 } // namespace v8 |
788 | 788 |
789 #endif // V8_TARGET_ARCH_MIPS | 789 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |