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

Side by Side Diff: src/ia32/macro-assembler-ia32.cc

Issue 5065002: Fixing lint errors. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 1 month 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/macro-assembler-ia32.h ('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 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 void MacroAssembler::LeaveExitFrame() { 401 void MacroAssembler::LeaveExitFrame() {
402 // Get the return address from the stack and restore the frame pointer. 402 // Get the return address from the stack and restore the frame pointer.
403 mov(ecx, Operand(ebp, 1 * kPointerSize)); 403 mov(ecx, Operand(ebp, 1 * kPointerSize));
404 mov(ebp, Operand(ebp, 0 * kPointerSize)); 404 mov(ebp, Operand(ebp, 0 * kPointerSize));
405 405
406 // Pop the arguments and the receiver from the caller stack. 406 // Pop the arguments and the receiver from the caller stack.
407 lea(esp, Operand(esi, 1 * kPointerSize)); 407 lea(esp, Operand(esi, 1 * kPointerSize));
408 408
409 // Push the return address to get ready to return. 409 // Push the return address to get ready to return.
410 push(ecx); 410 push(ecx);
411 411
412 LeaveExitFrameEpilogue(); 412 LeaveExitFrameEpilogue();
413 } 413 }
414 414
415 void MacroAssembler::LeaveExitFrameEpilogue() { 415 void MacroAssembler::LeaveExitFrameEpilogue() {
416 // Restore current context from top and clear it in debug mode. 416 // Restore current context from top and clear it in debug mode.
417 ExternalReference context_address(Top::k_context_address); 417 ExternalReference context_address(Top::k_context_address);
418 mov(esi, Operand::StaticVariable(context_address)); 418 mov(esi, Operand::StaticVariable(context_address));
419 #ifdef DEBUG 419 #ifdef DEBUG
420 mov(Operand::StaticVariable(context_address), Immediate(0)); 420 mov(Operand::StaticVariable(context_address), Immediate(0));
421 #endif 421 #endif
(...skipping 1386 matching lines...) Expand 10 before | Expand all | Expand 10 after
1808 1808
1809 // Check that the code was patched as expected. 1809 // Check that the code was patched as expected.
1810 ASSERT(masm_.pc_ == address_ + size_); 1810 ASSERT(masm_.pc_ == address_ + size_);
1811 ASSERT(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); 1811 ASSERT(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap);
1812 } 1812 }
1813 1813
1814 1814
1815 } } // namespace v8::internal 1815 } } // namespace v8::internal
1816 1816
1817 #endif // V8_TARGET_ARCH_IA32 1817 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/macro-assembler-ia32.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698