| 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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 // --------------------------------------------------------------------------- | 286 // --------------------------------------------------------------------------- |
| 287 // Exception handling | 287 // Exception handling |
| 288 | 288 |
| 289 // Push a new try handler and link into try handler chain. The return | 289 // Push a new try handler and link into try handler chain. The return |
| 290 // address must be pushed before calling this helper. | 290 // address must be pushed before calling this helper. |
| 291 void PushTryHandler(CodeLocation try_location, HandlerType type); | 291 void PushTryHandler(CodeLocation try_location, HandlerType type); |
| 292 | 292 |
| 293 // Unlink the stack handler on top of the stack from the try handler chain. | 293 // Unlink the stack handler on top of the stack from the try handler chain. |
| 294 void PopTryHandler(); | 294 void PopTryHandler(); |
| 295 | 295 |
| 296 // Activate the top handler in the try hander chain. |
| 297 void Throw(Register value); |
| 298 |
| 299 void ThrowUncatchable(UncatchableExceptionType type, Register value); |
| 300 |
| 296 // --------------------------------------------------------------------------- | 301 // --------------------------------------------------------------------------- |
| 297 // Inline caching support | 302 // Inline caching support |
| 298 | 303 |
| 299 // Generate code for checking access rights - used for security checks | 304 // Generate code for checking access rights - used for security checks |
| 300 // on access to global objects across environments. The holder register | 305 // on access to global objects across environments. The holder register |
| 301 // is left untouched, but the scratch register is clobbered. | 306 // is left untouched, but the scratch register is clobbered. |
| 302 void CheckAccessGlobalProxy(Register holder_reg, | 307 void CheckAccessGlobalProxy(Register holder_reg, |
| 303 Register scratch, | 308 Register scratch, |
| 304 Label* miss); | 309 Label* miss); |
| 305 | 310 |
| (...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 760 } \ | 765 } \ |
| 761 masm-> | 766 masm-> |
| 762 #else | 767 #else |
| 763 #define ACCESS_MASM(masm) masm-> | 768 #define ACCESS_MASM(masm) masm-> |
| 764 #endif | 769 #endif |
| 765 | 770 |
| 766 | 771 |
| 767 } } // namespace v8::internal | 772 } } // namespace v8::internal |
| 768 | 773 |
| 769 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 774 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |