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

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

Issue 2804005: [Isolates] Removal of miscellaneous statics from the backend. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: '' Created 10 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/ia32/disasm-ia32.cc ('k') | src/isolate.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-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 // register saving than this asymmetry (see the bug report 401 // register saving than this asymmetry (see the bug report
402 // associated with this issue). 402 // associated with this issue).
403 PushRegistersFromMemory(kJSCallerSaved); 403 PushRegistersFromMemory(kJSCallerSaved);
404 } 404 }
405 #endif 405 #endif
406 406
407 // Reserve space for arguments. 407 // Reserve space for arguments.
408 sub(Operand(esp), Immediate(argc * kPointerSize)); 408 sub(Operand(esp), Immediate(argc * kPointerSize));
409 409
410 // Get the required frame alignment for the OS. 410 // Get the required frame alignment for the OS.
411 static const int kFrameAlignment = OS::ActivationFrameAlignment(); 411 const int kFrameAlignment = OS::ActivationFrameAlignment();
412 if (kFrameAlignment > 0) { 412 if (kFrameAlignment > 0) {
413 ASSERT(IsPowerOf2(kFrameAlignment)); 413 ASSERT(IsPowerOf2(kFrameAlignment));
414 and_(esp, -kFrameAlignment); 414 and_(esp, -kFrameAlignment);
415 } 415 }
416 416
417 // Patch the saved entry sp. 417 // Patch the saved entry sp.
418 mov(Operand(ebp, ExitFrameConstants::kSPOffset), esp); 418 mov(Operand(ebp, ExitFrameConstants::kSPOffset), esp);
419 } 419 }
420 420
421 421
(...skipping 1240 matching lines...) Expand 10 before | Expand all | Expand 10 after
1662 1662
1663 // Check that the code was patched as expected. 1663 // Check that the code was patched as expected.
1664 ASSERT(masm_.pc_ == address_ + size_); 1664 ASSERT(masm_.pc_ == address_ + size_);
1665 ASSERT(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); 1665 ASSERT(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap);
1666 } 1666 }
1667 1667
1668 1668
1669 } } // namespace v8::internal 1669 } } // namespace v8::internal
1670 1670
1671 #endif // V8_TARGET_ARCH_IA32 1671 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/disasm-ia32.cc ('k') | src/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698