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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 // --------------------------------------------------------------------------- | 297 // --------------------------------------------------------------------------- |
298 // Exception handling | 298 // Exception handling |
299 | 299 |
300 // Push a new try handler and link into try handler chain. The return | 300 // Push a new try handler and link into try handler chain. The return |
301 // address must be pushed before calling this helper. | 301 // address must be pushed before calling this helper. |
302 void PushTryHandler(CodeLocation try_location, HandlerType type); | 302 void PushTryHandler(CodeLocation try_location, HandlerType type); |
303 | 303 |
304 // Unlink the stack handler on top of the stack from the try handler chain. | 304 // Unlink the stack handler on top of the stack from the try handler chain. |
305 void PopTryHandler(); | 305 void PopTryHandler(); |
306 | 306 |
| 307 // Activate the top handler in the try hander chain. |
| 308 void Throw(Register value); |
| 309 |
| 310 void ThrowUncatchable(UncatchableExceptionType type, Register value); |
| 311 |
307 // --------------------------------------------------------------------------- | 312 // --------------------------------------------------------------------------- |
308 // Inline caching support | 313 // Inline caching support |
309 | 314 |
310 // Generate code for checking access rights - used for security checks | 315 // Generate code for checking access rights - used for security checks |
311 // on access to global objects across environments. The holder register | 316 // on access to global objects across environments. The holder register |
312 // is left untouched, but the scratch register is clobbered. | 317 // is left untouched, but the scratch register is clobbered. |
313 void CheckAccessGlobalProxy(Register holder_reg, | 318 void CheckAccessGlobalProxy(Register holder_reg, |
314 Register scratch, | 319 Register scratch, |
315 Label* miss); | 320 Label* miss); |
316 | 321 |
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
771 } \ | 776 } \ |
772 masm-> | 777 masm-> |
773 #else | 778 #else |
774 #define ACCESS_MASM(masm) masm-> | 779 #define ACCESS_MASM(masm) masm-> |
775 #endif | 780 #endif |
776 | 781 |
777 | 782 |
778 } } // namespace v8::internal | 783 } } // namespace v8::internal |
779 | 784 |
780 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 785 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |