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

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

Issue 6247019: Change ARM exit frame layout and alingment handling... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 11 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/code-stubs.h ('k') | src/ia32/macro-assembler-ia32.cc » ('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 2010 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
11 // with the distribution. 11 // with the distribution.
(...skipping 4641 matching lines...) Expand 10 before | Expand all | Expand 10 after
4653 STATIC_ASSERT(StackHandlerConstants::kPCOffset == 3 * kPointerSize); 4653 STATIC_ASSERT(StackHandlerConstants::kPCOffset == 3 * kPointerSize);
4654 __ ret(0); 4654 __ ret(0);
4655 } 4655 }
4656 4656
4657 4657
4658 void CEntryStub::GenerateCore(MacroAssembler* masm, 4658 void CEntryStub::GenerateCore(MacroAssembler* masm,
4659 Label* throw_normal_exception, 4659 Label* throw_normal_exception,
4660 Label* throw_termination_exception, 4660 Label* throw_termination_exception,
4661 Label* throw_out_of_memory_exception, 4661 Label* throw_out_of_memory_exception,
4662 bool do_gc, 4662 bool do_gc,
4663 bool always_allocate_scope, 4663 bool always_allocate_scope) {
4664 int /* alignment_skew */) {
4665 // eax: result parameter for PerformGC, if any 4664 // eax: result parameter for PerformGC, if any
4666 // ebx: pointer to C function (C callee-saved) 4665 // ebx: pointer to C function (C callee-saved)
4667 // ebp: frame pointer (restored after C call) 4666 // ebp: frame pointer (restored after C call)
4668 // esp: stack pointer (restored after C call) 4667 // esp: stack pointer (restored after C call)
4669 // edi: number of arguments including receiver (C callee-saved) 4668 // edi: number of arguments including receiver (C callee-saved)
4670 // esi: pointer to the first argument (C callee-saved) 4669 // esi: pointer to the first argument (C callee-saved)
4671 4670
4672 // Result returned in eax, or eax+edx if result_size_ is 2. 4671 // Result returned in eax, or eax+edx if result_size_ is 2.
4673 4672
4674 // Check stack alignment. 4673 // Check stack alignment.
(...skipping 1831 matching lines...) Expand 10 before | Expand all | Expand 10 after
6506 // Do a tail call to the rewritten stub. 6505 // Do a tail call to the rewritten stub.
6507 __ jmp(Operand(edi)); 6506 __ jmp(Operand(edi));
6508 } 6507 }
6509 6508
6510 6509
6511 #undef __ 6510 #undef __
6512 6511
6513 } } // namespace v8::internal 6512 } } // namespace v8::internal
6514 6513
6515 #endif // V8_TARGET_ARCH_IA32 6514 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/code-stubs.h ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698