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

Side by Side Diff: src/ic-ia32.cc

Issue 6526: - Fixed Issue 3201: Embedded Google Calendar crashes the renderer... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 years, 2 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/ic-arm.cc ('k') | src/stub-cache.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 685 matching lines...) Expand 10 before | Expand all | Expand 10 after
696 // -- esp[4] : receiver 696 // -- esp[4] : receiver
697 // ----------------------------------- 697 // -----------------------------------
698 698
699 // Move the return address below the arguments. 699 // Move the return address below the arguments.
700 __ pop(ebx); 700 __ pop(ebx);
701 __ push(Operand(esp, 0)); 701 __ push(Operand(esp, 0));
702 __ push(ecx); 702 __ push(ecx);
703 __ push(eax); 703 __ push(eax);
704 __ push(ebx); 704 __ push(ebx);
705 // Perform tail call to the entry. 705 // Perform tail call to the entry.
706 __ TailCallRuntime(ExternalReference(IC_Utility(kStoreIC_ExtendStorage)), 3); 706 __ TailCallRuntime(
707 ExternalReference(IC_Utility(kSharedStoreIC_ExtendStorage)), 3);
707 } 708 }
708 709
709 710
710 void StoreIC::Generate(MacroAssembler* masm, const ExternalReference& f) { 711 void StoreIC::Generate(MacroAssembler* masm, const ExternalReference& f) {
711 // ----------- S t a t e ------------- 712 // ----------- S t a t e -------------
712 // -- eax : value 713 // -- eax : value
713 // -- ecx : name 714 // -- ecx : name
714 // -- esp[0] : return address 715 // -- esp[0] : return address
715 // -- esp[4] : receiver 716 // -- esp[4] : receiver
716 // ----------------------------------- 717 // -----------------------------------
(...skipping 26 matching lines...) Expand all
743 __ push(Operand(esp, 1 * kPointerSize)); 744 __ push(Operand(esp, 1 * kPointerSize));
744 __ push(Operand(esp, 1 * kPointerSize)); 745 __ push(Operand(esp, 1 * kPointerSize));
745 __ push(eax); 746 __ push(eax);
746 __ push(ecx); 747 __ push(ecx);
747 748
748 // Do tail-call to runtime routine. 749 // Do tail-call to runtime routine.
749 __ TailCallRuntime(f, 3); 750 __ TailCallRuntime(f, 3);
750 } 751 }
751 752
752 753
754 void KeyedStoreIC::GenerateExtendStorage(MacroAssembler* masm) {
755 // ----------- S t a t e -------------
756 // -- eax : value
757 // -- esp[0] : return address
758 // -- esp[4] : key
759 // -- esp[8] : receiver
760 // -----------------------------------
761
762 // Move the return address below the arguments.
763 __ pop(ecx);
764 __ push(Operand(esp, 1 * kPointerSize));
765 __ push(Operand(esp, 1 * kPointerSize));
766 __ push(eax);
767 __ push(ecx);
768
769 // Do tail-call to runtime routine.
770 __ TailCallRuntime(
771 ExternalReference(IC_Utility(kSharedStoreIC_ExtendStorage)), 3);
772 }
773
753 #undef __ 774 #undef __
754 775
755 776
756 } } // namespace v8::internal 777 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ic-arm.cc ('k') | src/stub-cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698