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_PPC | 5 #if V8_TARGET_ARCH_PPC |
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 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 __ mov(this->name(), Operand(name)); | 348 __ mov(this->name(), Operand(name)); |
349 } | 349 } |
350 } | 350 } |
351 | 351 |
352 | 352 |
353 void NamedStoreHandlerCompiler::GenerateRestoreName(Handle<Name> name) { | 353 void NamedStoreHandlerCompiler::GenerateRestoreName(Handle<Name> name) { |
354 __ mov(this->name(), Operand(name)); | 354 __ mov(this->name(), Operand(name)); |
355 } | 355 } |
356 | 356 |
357 | 357 |
358 void NamedStoreHandlerCompiler::GeneratePushMap(Register map_reg, | 358 void NamedStoreHandlerCompiler::RearrangeVectorAndSlot( |
359 Register scratch) { | 359 Register current_map, Register destination_map) { |
360 DCHECK(false); // Not implemented. | 360 DCHECK(false); // Not implemented. |
361 } | 361 } |
362 | 362 |
363 | 363 |
364 void NamedStoreHandlerCompiler::GenerateRestoreMap(Handle<Map> transition, | 364 void NamedStoreHandlerCompiler::GenerateRestoreMap(Handle<Map> transition, |
365 Register map_reg, | 365 Register map_reg, |
366 Register scratch, | 366 Register scratch, |
367 Label* miss) { | 367 Label* miss) { |
368 Handle<WeakCell> cell = Map::WeakCellForMap(transition); | 368 Handle<WeakCell> cell = Map::WeakCellForMap(transition); |
369 DCHECK(!map_reg.is(scratch)); | 369 DCHECK(!map_reg.is(scratch)); |
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
786 // Return the generated code. | 786 // Return the generated code. |
787 return GetCode(kind(), Code::NORMAL, name); | 787 return GetCode(kind(), Code::NORMAL, name); |
788 } | 788 } |
789 | 789 |
790 | 790 |
791 #undef __ | 791 #undef __ |
792 } // namespace internal | 792 } // namespace internal |
793 } // namespace v8 | 793 } // namespace v8 |
794 | 794 |
795 #endif // V8_TARGET_ARCH_ARM | 795 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |