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 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
581 // --------------------------------------------------------------------------- | 581 // --------------------------------------------------------------------------- |
582 // Exception handling | 582 // Exception handling |
583 | 583 |
584 // Push a new try handler and link into try handler chain. | 584 // Push a new try handler and link into try handler chain. |
585 void PushTryHandler(StackHandler::Kind kind, int handler_index); | 585 void PushTryHandler(StackHandler::Kind kind, int handler_index); |
586 | 586 |
587 // Unlink the stack handler on top of the stack from the try handler chain. | 587 // Unlink the stack handler on top of the stack from the try handler chain. |
588 // Must preserve the result register. | 588 // Must preserve the result register. |
589 void PopTryHandler(); | 589 void PopTryHandler(); |
590 | 590 |
591 // Passes thrown value (in r0) to the handler of top of the try handler chain. | 591 // Passes thrown value to the handler of top of the try handler chain. |
592 void Throw(Register value); | 592 void Throw(Register value); |
593 | 593 |
594 // Propagates an uncatchable exception to the top of the current JS stack's | 594 // Propagates an uncatchable exception to the top of the current JS stack's |
595 // handler chain. | 595 // handler chain. |
596 void ThrowUncatchable(UncatchableExceptionType type, Register value); | 596 void ThrowUncatchable(Register value); |
597 | 597 |
598 // --------------------------------------------------------------------------- | 598 // --------------------------------------------------------------------------- |
599 // Inline caching support | 599 // Inline caching support |
600 | 600 |
601 // Generate code for checking access rights - used for security checks | 601 // Generate code for checking access rights - used for security checks |
602 // on access to global objects across environments. The holder register | 602 // on access to global objects across environments. The holder register |
603 // is left untouched, whereas both scratch registers are clobbered. | 603 // is left untouched, whereas both scratch registers are clobbered. |
604 void CheckAccessGlobalProxy(Register holder_reg, | 604 void CheckAccessGlobalProxy(Register holder_reg, |
605 Register scratch, | 605 Register scratch, |
606 Label* miss); | 606 Label* miss); |
(...skipping 762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1369 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1369 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1370 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1370 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1371 #else | 1371 #else |
1372 #define ACCESS_MASM(masm) masm-> | 1372 #define ACCESS_MASM(masm) masm-> |
1373 #endif | 1373 #endif |
1374 | 1374 |
1375 | 1375 |
1376 } } // namespace v8::internal | 1376 } } // namespace v8::internal |
1377 | 1377 |
1378 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1378 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |