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

Side by Side Diff: src/x64/stub-cache-x64.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 | « src/arm/stub-cache-arm.cc ('k') | no next file » | 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 788 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 __ TailCallExternalReference( 799 __ TailCallExternalReference(
800 ExternalReference(IC_Utility(IC::kSharedStoreIC_ExtendStorage), 800 ExternalReference(IC_Utility(IC::kSharedStoreIC_ExtendStorage),
801 masm->isolate()), 801 masm->isolate()),
802 3, 802 3,
803 1); 803 1);
804 return; 804 return;
805 } 805 }
806 806
807 if (!transition.is_null()) { 807 if (!transition.is_null()) {
808 // Update the map of the object. 808 // Update the map of the object.
809 __ Move(scratch, transition); 809 __ Move(scratch1, transition);
810 __ movq(FieldOperand(receiver_reg, HeapObject::kMapOffset), scratch); 810 __ movq(FieldOperand(receiver_reg, HeapObject::kMapOffset), scratch1);
811 811
812 // Update the write barrier for the map field and pass the now unused 812 // Update the write barrier for the map field and pass the now unused
813 // name_reg as scratch register. 813 // name_reg as scratch register.
814 __ RecordWriteField(receiver_reg, 814 __ RecordWriteField(receiver_reg,
815 HeapObject::kMapOffset, 815 HeapObject::kMapOffset,
816 scratch, 816 scratch1,
817 name_reg, 817 name_reg,
818 kDontSaveFPRegs, 818 kDontSaveFPRegs,
819 OMIT_REMEMBERED_SET, 819 OMIT_REMEMBERED_SET,
820 OMIT_SMI_CHECK); 820 OMIT_SMI_CHECK);
821 } 821 }
822 822
823 // Adjust for the number of properties stored in the object. Even in the 823 // Adjust for the number of properties stored in the object. Even in the
824 // face of a transition we can use the old map here because the size of the 824 // face of a transition we can use the old map here because the size of the
825 // object and the number of in-object properties is not going to change. 825 // object and the number of in-object properties is not going to change.
826 index -= object->map()->inobject_properties(); 826 index -= object->map()->inobject_properties();
(...skipping 3084 matching lines...) Expand 10 before | Expand all | Expand 10 after
3911 __ jmp(ic_slow, RelocInfo::CODE_TARGET); 3911 __ jmp(ic_slow, RelocInfo::CODE_TARGET);
3912 } 3912 }
3913 } 3913 }
3914 3914
3915 3915
3916 #undef __ 3916 #undef __
3917 3917
3918 } } // namespace v8::internal 3918 } } // namespace v8::internal
3919 3919
3920 #endif // V8_TARGET_ARCH_X64 3920 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/arm/stub-cache-arm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698