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/x64/stub-cache-x64.cc

Issue 10532065: Make clang/GCMole happy. (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/mips/stub-cache-mips.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 2701 matching lines...) Expand 10 before | Expand all | Expand 10 after
2712 2712
2713 // Check that the maps haven't changed. 2713 // Check that the maps haven't changed.
2714 __ JumpIfSmi(rax, &miss); 2714 __ JumpIfSmi(rax, &miss);
2715 CheckPrototypes(receiver, rax, holder, rbx, rdx, rdi, name, &miss); 2715 CheckPrototypes(receiver, rax, holder, rbx, rdx, rdi, name, &miss);
2716 2716
2717 { 2717 {
2718 FrameScope scope(masm(), StackFrame::INTERNAL); 2718 FrameScope scope(masm(), StackFrame::INTERNAL);
2719 2719
2720 // Call the JavaScript getter with the receiver on the stack. 2720 // Call the JavaScript getter with the receiver on the stack.
2721 __ push(rax); 2721 __ push(rax);
2722 __ InvokeFunction(getter, ParameterCount(0), CALL_FUNCTION, 2722 ParameterCount actual(0);
2723 NullCallWrapper(), CALL_AS_METHOD); 2723 __ InvokeFunction(getter, actual, CALL_FUNCTION, NullCallWrapper(),
2724 CALL_AS_METHOD);
2724 2725
2725 // Restore context register. 2726 // Restore context register.
2726 __ movq(rsi, Operand(rbp, StandardFrameConstants::kContextOffset)); 2727 __ movq(rsi, Operand(rbp, StandardFrameConstants::kContextOffset));
2727 } 2728 }
2728 __ ret(0); 2729 __ ret(0);
2729 2730
2730 __ bind(&miss); 2731 __ bind(&miss);
2731 GenerateLoadMiss(masm(), Code::LOAD_IC); 2732 GenerateLoadMiss(masm(), Code::LOAD_IC);
2732 2733
2733 // Return the generated code. 2734 // Return the generated code.
(...skipping 1215 matching lines...) Expand 10 before | Expand all | Expand 10 after
3949 __ jmp(ic_slow, RelocInfo::CODE_TARGET); 3950 __ jmp(ic_slow, RelocInfo::CODE_TARGET);
3950 } 3951 }
3951 } 3952 }
3952 3953
3953 3954
3954 #undef __ 3955 #undef __
3955 3956
3956 } } // namespace v8::internal 3957 } } // namespace v8::internal
3957 3958
3958 #endif // V8_TARGET_ARCH_X64 3959 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/mips/stub-cache-mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698