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

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

Issue 10535138: MIPS: Small fix for r11771 (1b74d45b). (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 | 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 2684 matching lines...) Expand 10 before | Expand all | Expand 10 after
2695 __ push(a0); 2695 __ push(a0);
2696 2696
2697 // Call the JavaScript getter with the receiver and the value on the stack. 2697 // Call the JavaScript getter with the receiver and the value on the stack.
2698 __ push(a1); 2698 __ push(a1);
2699 __ push(a0); 2699 __ push(a0);
2700 ParameterCount actual(1); 2700 ParameterCount actual(1);
2701 __ InvokeFunction(setter, actual, CALL_FUNCTION, NullCallWrapper(), 2701 __ InvokeFunction(setter, actual, CALL_FUNCTION, NullCallWrapper(),
2702 CALL_AS_METHOD); 2702 CALL_AS_METHOD);
2703 2703
2704 // We have to return the passed value, not the return value of the setter. 2704 // We have to return the passed value, not the return value of the setter.
2705 __ pop(a0); 2705 __ pop(v0);
2706 2706
2707 // Restore context register. 2707 // Restore context register.
2708 __ lw(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); 2708 __ lw(cp, MemOperand(fp, StandardFrameConstants::kContextOffset));
2709 } 2709 }
2710 __ Ret(); 2710 __ Ret();
2711 2711
2712 __ bind(&miss); 2712 __ bind(&miss);
2713 Handle<Code> ic = masm()->isolate()->builtins()->StoreIC_Miss(); 2713 Handle<Code> ic = masm()->isolate()->builtins()->StoreIC_Miss();
2714 __ Jump(ic, RelocInfo::CODE_TARGET); 2714 __ Jump(ic, RelocInfo::CODE_TARGET);
2715 2715
(...skipping 2021 matching lines...) Expand 10 before | Expand all | Expand 10 after
4737 __ Jump(ic_slow, RelocInfo::CODE_TARGET); 4737 __ Jump(ic_slow, RelocInfo::CODE_TARGET);
4738 } 4738 }
4739 } 4739 }
4740 4740
4741 4741
4742 #undef __ 4742 #undef __
4743 4743
4744 } } // namespace v8::internal 4744 } } // namespace v8::internal
4745 4745
4746 #endif // V8_TARGET_ARCH_MIPS 4746 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698