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

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

Issue 5278003: Fix crashes during GC caused by partially initialized objects. The... (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/handles.cc ('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 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 613 matching lines...) Expand 10 before | Expand all | Expand 10 after
624 void EnterFrame(StackFrame::Type type); 624 void EnterFrame(StackFrame::Type type);
625 void LeaveFrame(StackFrame::Type type); 625 void LeaveFrame(StackFrame::Type type);
626 626
627 void EnterExitFramePrologue(); 627 void EnterExitFramePrologue();
628 void EnterExitFrameEpilogue(int argc); 628 void EnterExitFrameEpilogue(int argc);
629 629
630 void LeaveExitFrameEpilogue(); 630 void LeaveExitFrameEpilogue();
631 631
632 // Allocation support helpers. 632 // Allocation support helpers.
633 void LoadAllocationTopHelper(Register result, 633 void LoadAllocationTopHelper(Register result,
634 Register result_end,
635 Register scratch, 634 Register scratch,
636 AllocationFlags flags); 635 AllocationFlags flags);
637 void UpdateAllocationTopHelper(Register result_end, Register scratch); 636 void UpdateAllocationTopHelper(Register result_end, Register scratch);
638 637
639 // Helper for PopHandleScope. Allowed to perform a GC and returns 638 // Helper for PopHandleScope. Allowed to perform a GC and returns
640 // NULL if gc_allowed. Does not perform a GC if !gc_allowed, and 639 // NULL if gc_allowed. Does not perform a GC if !gc_allowed, and
641 // possibly returns a failure object indicating an allocation failure. 640 // possibly returns a failure object indicating an allocation failure.
642 MUST_USE_RESULT MaybeObject* PopHandleScopeHelper(Register saved, 641 MUST_USE_RESULT MaybeObject* PopHandleScopeHelper(Register saved,
643 Register scratch, 642 Register scratch,
644 bool gc_allowed); 643 bool gc_allowed);
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 } \ 714 } \
716 masm-> 715 masm->
717 #else 716 #else
718 #define ACCESS_MASM(masm) masm-> 717 #define ACCESS_MASM(masm) masm->
719 #endif 718 #endif
720 719
721 720
722 } } // namespace v8::internal 721 } } // namespace v8::internal
723 722
724 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 723 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/handles.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698