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

Side by Side Diff: src/arm/stub-cache-arm.cc

Issue 10454115: Fix merge issue. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/x64/stub-cache-x64.cc » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 __ TailCallExternalReference( 504 __ TailCallExternalReference(
505 ExternalReference(IC_Utility(IC::kSharedStoreIC_ExtendStorage), 505 ExternalReference(IC_Utility(IC::kSharedStoreIC_ExtendStorage),
506 masm->isolate()), 506 masm->isolate()),
507 3, 507 3,
508 1); 508 1);
509 return; 509 return;
510 } 510 }
511 511
512 if (!transition.is_null()) { 512 if (!transition.is_null()) {
513 // Update the map of the object. 513 // Update the map of the object.
514 __ mov(scratch, Operand(transition)); 514 __ mov(scratch1, Operand(transition));
515 __ str(scratch, FieldMemOperand(receiver_reg, HeapObject::kMapOffset)); 515 __ str(scratch1, FieldMemOperand(receiver_reg, HeapObject::kMapOffset));
516 516
517 // Update the write barrier for the map field and pass the now unused 517 // Update the write barrier for the map field and pass the now unused
518 // name_reg as scratch register. 518 // name_reg as scratch register.
519 __ RecordWriteField(receiver_reg, 519 __ RecordWriteField(receiver_reg,
520 HeapObject::kMapOffset, 520 HeapObject::kMapOffset,
521 scratch, 521 scratch1,
522 name_reg, 522 name_reg,
523 kLRHasNotBeenSaved, 523 kLRHasNotBeenSaved,
524 kDontSaveFPRegs, 524 kDontSaveFPRegs,
525 OMIT_REMEMBERED_SET, 525 OMIT_REMEMBERED_SET,
526 OMIT_SMI_CHECK); 526 OMIT_SMI_CHECK);
527 } 527 }
528 528
529 // Adjust for the number of properties stored in the object. Even in the 529 // Adjust for the number of properties stored in the object. Even in the
530 // face of a transition we can use the old map here because the size of the 530 // face of a transition we can use the old map here because the size of the
531 // object and the number of in-object properties is not going to change. 531 // object and the number of in-object properties is not going to change.
(...skipping 4059 matching lines...) Expand 10 before | Expand all | Expand 10 after
4591 __ Jump(ic_slow, RelocInfo::CODE_TARGET); 4591 __ Jump(ic_slow, RelocInfo::CODE_TARGET);
4592 } 4592 }
4593 } 4593 }
4594 4594
4595 4595
4596 #undef __ 4596 #undef __
4597 4597
4598 } } // namespace v8::internal 4598 } } // namespace v8::internal
4599 4599
4600 #endif // V8_TARGET_ARCH_ARM 4600 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/x64/stub-cache-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698