Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: src/ic/x64/handler-compiler-x64.cc

Issue 1250563004: HydrogenCodeStubs consume stack arguments via descriptor. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/ic/mips64/handler-compiler-mips64.cc ('k') | src/interface-descriptors.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_X64 7 #if V8_TARGET_ARCH_X64
8 8
9 #include "src/ic/call-optimization.h" 9 #include "src/ic/call-optimization.h"
10 #include "src/ic/handler-compiler.h" 10 #include "src/ic/handler-compiler.h"
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 __ Move(this->name(), name); 347 __ Move(this->name(), name);
348 } 348 }
349 } 349 }
350 350
351 351
352 void NamedStoreHandlerCompiler::GenerateRestoreName(Handle<Name> name) { 352 void NamedStoreHandlerCompiler::GenerateRestoreName(Handle<Name> name) {
353 __ Move(this->name(), name); 353 __ Move(this->name(), name);
354 } 354 }
355 355
356 356
357 void NamedStoreHandlerCompiler::GeneratePushMap(Register map_reg,
358 Register scratch) {
359 DCHECK(false); // Not implemented.
360 }
361
362
357 void NamedStoreHandlerCompiler::GenerateRestoreMap(Handle<Map> transition, 363 void NamedStoreHandlerCompiler::GenerateRestoreMap(Handle<Map> transition,
364 Register map_reg,
358 Register scratch, 365 Register scratch,
359 Label* miss) { 366 Label* miss) {
360 Handle<WeakCell> cell = Map::WeakCellForMap(transition); 367 Handle<WeakCell> cell = Map::WeakCellForMap(transition);
361 Register map_reg = StoreTransitionDescriptor::MapRegister();
362 DCHECK(!map_reg.is(scratch)); 368 DCHECK(!map_reg.is(scratch));
363 __ LoadWeakValue(map_reg, cell, miss); 369 __ LoadWeakValue(map_reg, cell, miss);
364 if (transition->CanBeDeprecated()) { 370 if (transition->CanBeDeprecated()) {
365 __ movl(scratch, FieldOperand(map_reg, Map::kBitField3Offset)); 371 __ movl(scratch, FieldOperand(map_reg, Map::kBitField3Offset));
366 __ andl(scratch, Immediate(Map::Deprecated::kMask)); 372 __ andl(scratch, Immediate(Map::Deprecated::kMask));
367 __ j(not_zero, miss); 373 __ j(not_zero, miss);
368 } 374 }
369 } 375 }
370 376
371 377
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
800 // Return the generated code. 806 // Return the generated code.
801 return GetCode(kind(), Code::NORMAL, name); 807 return GetCode(kind(), Code::NORMAL, name);
802 } 808 }
803 809
804 810
805 #undef __ 811 #undef __
806 } // namespace internal 812 } // namespace internal
807 } // namespace v8 813 } // namespace v8
808 814
809 #endif // V8_TARGET_ARCH_X64 815 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/ic/mips64/handler-compiler-mips64.cc ('k') | src/interface-descriptors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698