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