| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |