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

Side by Side Diff: src/x64/code-stubs-x64.cc

Issue 7017011: Fix presubmit errors. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 7 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/ia32/code-stubs-ia32.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 3315 matching lines...) Expand 10 before | Expand all | Expand 10 after
3326 // Check if the current stack frame is marked as the outermost JS frame. 3326 // Check if the current stack frame is marked as the outermost JS frame.
3327 __ pop(rbx); 3327 __ pop(rbx);
3328 __ Cmp(rbx, Smi::FromInt(StackFrame::OUTERMOST_JSENTRY_FRAME)); 3328 __ Cmp(rbx, Smi::FromInt(StackFrame::OUTERMOST_JSENTRY_FRAME));
3329 __ j(not_equal, &not_outermost_js_2); 3329 __ j(not_equal, &not_outermost_js_2);
3330 __ movq(kScratchRegister, js_entry_sp); 3330 __ movq(kScratchRegister, js_entry_sp);
3331 __ movq(Operand(kScratchRegister, 0), Immediate(0)); 3331 __ movq(Operand(kScratchRegister, 0), Immediate(0));
3332 __ bind(&not_outermost_js_2); 3332 __ bind(&not_outermost_js_2);
3333 #endif 3333 #endif
3334 3334
3335 // Restore the top frame descriptor from the stack. 3335 // Restore the top frame descriptor from the stack.
3336 { 3336 { Operand c_entry_fp_operand = masm->ExternalOperand(c_entry_fp);
3337 Operand c_entry_fp_operand = masm->ExternalOperand(c_entry_fp);
3338 __ pop(c_entry_fp_operand); 3337 __ pop(c_entry_fp_operand);
3339 } 3338 }
3340 3339
3341 // Restore callee-saved registers (X64 conventions). 3340 // Restore callee-saved registers (X64 conventions).
3342 __ pop(rbx); 3341 __ pop(rbx);
3343 #ifdef _WIN64 3342 #ifdef _WIN64
3344 // Callee save on in Win64 ABI, arguments/volatile in AMD64 ABI. 3343 // Callee save on in Win64 ABI, arguments/volatile in AMD64 ABI.
3345 __ pop(rsi); 3344 __ pop(rsi);
3346 __ pop(rdi); 3345 __ pop(rdi);
3347 #endif 3346 #endif
(...skipping 1753 matching lines...) Expand 10 before | Expand all | Expand 10 after
5101 __ Drop(1); 5100 __ Drop(1);
5102 __ ret(2 * kPointerSize); 5101 __ ret(2 * kPointerSize);
5103 } 5102 }
5104 5103
5105 5104
5106 #undef __ 5105 #undef __
5107 5106
5108 } } // namespace v8::internal 5107 } } // namespace v8::internal
5109 5108
5110 #endif // V8_TARGET_ARCH_X64 5109 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698