OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 | 489 |
490 // --------------------------------------------------------------------------- | 490 // --------------------------------------------------------------------------- |
491 // Exception handling | 491 // Exception handling |
492 | 492 |
493 // Push a new try handler and link it into try handler chain. | 493 // Push a new try handler and link it into try handler chain. |
494 void PushTryHandler(StackHandler::Kind kind, int handler_index); | 494 void PushTryHandler(StackHandler::Kind kind, int handler_index); |
495 | 495 |
496 // Unlink the stack handler on top of the stack from the try handler chain. | 496 // Unlink the stack handler on top of the stack from the try handler chain. |
497 void PopTryHandler(); | 497 void PopTryHandler(); |
498 | 498 |
499 // Activate the top handler in the try hander chain. | 499 // Throw to the top handler in the try hander chain. |
500 void Throw(Register value); | 500 void Throw(Register value); |
501 | 501 |
502 void ThrowUncatchable(UncatchableExceptionType type, Register value); | 502 // Throw past all JS frames to the top JS entry frame. |
| 503 void ThrowUncatchable(Register value); |
503 | 504 |
504 // --------------------------------------------------------------------------- | 505 // --------------------------------------------------------------------------- |
505 // Inline caching support | 506 // Inline caching support |
506 | 507 |
507 // Generate code for checking access rights - used for security checks | 508 // Generate code for checking access rights - used for security checks |
508 // on access to global objects across environments. The holder register | 509 // on access to global objects across environments. The holder register |
509 // is left untouched, but the scratch register is clobbered. | 510 // is left untouched, but the scratch register is clobbered. |
510 void CheckAccessGlobalProxy(Register holder_reg, | 511 void CheckAccessGlobalProxy(Register holder_reg, |
511 Register scratch, | 512 Register scratch, |
512 Label* miss); | 513 Label* miss); |
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
964 } \ | 965 } \ |
965 masm-> | 966 masm-> |
966 #else | 967 #else |
967 #define ACCESS_MASM(masm) masm-> | 968 #define ACCESS_MASM(masm) masm-> |
968 #endif | 969 #endif |
969 | 970 |
970 | 971 |
971 } } // namespace v8::internal | 972 } } // namespace v8::internal |
972 | 973 |
973 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 974 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |