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_X64 | 5 #if V8_TARGET_ARCH_X64 |
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 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 __ Move(this->name(), name); | 357 __ Move(this->name(), name); |
358 } | 358 } |
359 } | 359 } |
360 | 360 |
361 | 361 |
362 void NamedStoreHandlerCompiler::GenerateRestoreName(Handle<Name> name) { | 362 void NamedStoreHandlerCompiler::GenerateRestoreName(Handle<Name> name) { |
363 __ Move(this->name(), name); | 363 __ Move(this->name(), name); |
364 } | 364 } |
365 | 365 |
366 | 366 |
367 void NamedStoreHandlerCompiler::GeneratePushMap(Register map_reg, | 367 void NamedStoreHandlerCompiler::RearrangeVectorAndSlot( |
368 Register scratch) { | 368 Register current_map, Register destination_map) { |
369 DCHECK(false); // Not implemented. | 369 DCHECK(false); // Not implemented. |
370 } | 370 } |
371 | 371 |
372 | 372 |
373 void NamedStoreHandlerCompiler::GenerateRestoreMap(Handle<Map> transition, | 373 void NamedStoreHandlerCompiler::GenerateRestoreMap(Handle<Map> transition, |
374 Register map_reg, | 374 Register map_reg, |
375 Register scratch, | 375 Register scratch, |
376 Label* miss) { | 376 Label* miss) { |
377 Handle<WeakCell> cell = Map::WeakCellForMap(transition); | 377 Handle<WeakCell> cell = Map::WeakCellForMap(transition); |
378 DCHECK(!map_reg.is(scratch)); | 378 DCHECK(!map_reg.is(scratch)); |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
811 // Return the generated code. | 811 // Return the generated code. |
812 return GetCode(kind(), Code::NORMAL, name); | 812 return GetCode(kind(), Code::NORMAL, name); |
813 } | 813 } |
814 | 814 |
815 | 815 |
816 #undef __ | 816 #undef __ |
817 } // namespace internal | 817 } // namespace internal |
818 } // namespace v8 | 818 } // namespace v8 |
819 | 819 |
820 #endif // V8_TARGET_ARCH_X64 | 820 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |