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

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

Issue 6538019: Porting of revisions 6639, 6794 and 6805 to the 3.0 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.0
Patch Set: Created 9 years, 10 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/x64/code-stubs-x64.cc ('k') | src/x64/macro-assembler-x64.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 2010 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 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 // --------------------------------------------------------------------------- 655 // ---------------------------------------------------------------------------
656 // Exception handling 656 // Exception handling
657 657
658 // Push a new try handler and link into try handler chain. The return 658 // Push a new try handler and link into try handler chain. The return
659 // address must be pushed before calling this helper. 659 // address must be pushed before calling this helper.
660 void PushTryHandler(CodeLocation try_location, HandlerType type); 660 void PushTryHandler(CodeLocation try_location, HandlerType type);
661 661
662 // Unlink the stack handler on top of the stack from the try handler chain. 662 // Unlink the stack handler on top of the stack from the try handler chain.
663 void PopTryHandler(); 663 void PopTryHandler();
664 664
665 // Activate the top handler in the try hander chain and pass the
666 // thrown value.
667 void Throw(Register value);
668
669 // Propagate an uncatchable exception out of the current JS stack.
670 void ThrowUncatchable(UncatchableExceptionType type, Register value);
671
665 // --------------------------------------------------------------------------- 672 // ---------------------------------------------------------------------------
666 // Inline caching support 673 // Inline caching support
667 674
668 // Generate code for checking access rights - used for security checks 675 // Generate code for checking access rights - used for security checks
669 // on access to global objects across environments. The holder register 676 // on access to global objects across environments. The holder register
670 // is left untouched, but the scratch register and kScratchRegister, 677 // is left untouched, but the scratch register and kScratchRegister,
671 // which must be different, are clobbered. 678 // which must be different, are clobbered.
672 void CheckAccessGlobalProxy(Register holder_reg, 679 void CheckAccessGlobalProxy(Register holder_reg,
673 Register scratch, 680 Register scratch,
674 Label* miss); 681 Label* miss);
(...skipping 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after
1772 Jump(adaptor, RelocInfo::CODE_TARGET); 1779 Jump(adaptor, RelocInfo::CODE_TARGET);
1773 } 1780 }
1774 bind(&invoke); 1781 bind(&invoke);
1775 } 1782 }
1776 } 1783 }
1777 1784
1778 1785
1779 } } // namespace v8::internal 1786 } } // namespace v8::internal
1780 1787
1781 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1788 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698