| 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_MIPS64 | 5 #if V8_TARGET_ARCH_MIPS64 |
| 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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 __ li(this->name(), Operand(name)); | 340 __ li(this->name(), Operand(name)); |
| 341 } | 341 } |
| 342 } | 342 } |
| 343 | 343 |
| 344 | 344 |
| 345 void NamedStoreHandlerCompiler::GenerateRestoreName(Handle<Name> name) { | 345 void NamedStoreHandlerCompiler::GenerateRestoreName(Handle<Name> name) { |
| 346 __ li(this->name(), Operand(name)); | 346 __ li(this->name(), Operand(name)); |
| 347 } | 347 } |
| 348 | 348 |
| 349 | 349 |
| 350 void NamedStoreHandlerCompiler::GeneratePushMap(Register map_reg, | 350 void NamedStoreHandlerCompiler::RearrangeVectorAndSlot( |
| 351 Register scratch) { | 351 Register current_map, Register destination_map) { |
| 352 DCHECK(false); // Not implemented. | 352 DCHECK(false); // Not implemented. |
| 353 } | 353 } |
| 354 | 354 |
| 355 | 355 |
| 356 void NamedStoreHandlerCompiler::GenerateRestoreMap(Handle<Map> transition, | 356 void NamedStoreHandlerCompiler::GenerateRestoreMap(Handle<Map> transition, |
| 357 Register map_reg, | 357 Register map_reg, |
| 358 Register scratch, | 358 Register scratch, |
| 359 Label* miss) { | 359 Label* miss) { |
| 360 Handle<WeakCell> cell = Map::WeakCellForMap(transition); | 360 Handle<WeakCell> cell = Map::WeakCellForMap(transition); |
| 361 DCHECK(!map_reg.is(scratch)); | 361 DCHECK(!map_reg.is(scratch)); |
| (...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 781 // Return the generated code. | 781 // Return the generated code. |
| 782 return GetCode(kind(), Code::NORMAL, name); | 782 return GetCode(kind(), Code::NORMAL, name); |
| 783 } | 783 } |
| 784 | 784 |
| 785 | 785 |
| 786 #undef __ | 786 #undef __ |
| 787 } // namespace internal | 787 } // namespace internal |
| 788 } // namespace v8 | 788 } // namespace v8 |
| 789 | 789 |
| 790 #endif // V8_TARGET_ARCH_MIPS64 | 790 #endif // V8_TARGET_ARCH_MIPS64 |
| OLD | NEW |