OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/bailout-reason.h" | 9 #include "src/bailout-reason.h" |
10 #include "src/frames.h" | 10 #include "src/frames.h" |
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
636 Label* fail); | 636 Label* fail); |
637 | 637 |
638 // --------------------------------------------------------------------------- | 638 // --------------------------------------------------------------------------- |
639 // Debugger Support | 639 // Debugger Support |
640 | 640 |
641 void DebugBreak(); | 641 void DebugBreak(); |
642 | 642 |
643 // --------------------------------------------------------------------------- | 643 // --------------------------------------------------------------------------- |
644 // Exception handling | 644 // Exception handling |
645 | 645 |
646 // Push a new try handler and link into try handler chain. | 646 // Push a new stack handler and link into stack handler chain. |
647 void PushTryHandler(StackHandler::Kind kind, int handler_index); | 647 void PushStackHandler(); |
648 | 648 |
649 // Unlink the stack handler on top of the stack from the try handler chain. | 649 // Unlink the stack handler on top of the stack from the stack handler chain. |
650 // Must preserve the result register. | 650 // Must preserve the result register. |
651 void PopTryHandler(); | 651 void PopStackHandler(); |
652 | 652 |
653 // --------------------------------------------------------------------------- | 653 // --------------------------------------------------------------------------- |
654 // Inline caching support | 654 // Inline caching support |
655 | 655 |
656 // Generate code for checking access rights - used for security checks | 656 // Generate code for checking access rights - used for security checks |
657 // on access to global objects across environments. The holder register | 657 // on access to global objects across environments. The holder register |
658 // is left untouched, whereas both scratch registers are clobbered. | 658 // is left untouched, whereas both scratch registers are clobbered. |
659 void CheckAccessGlobalProxy(Register holder_reg, | 659 void CheckAccessGlobalProxy(Register holder_reg, |
660 Register scratch, | 660 Register scratch, |
661 Label* miss); | 661 Label* miss); |
(...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1538 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1538 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1539 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1539 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1540 #else | 1540 #else |
1541 #define ACCESS_MASM(masm) masm-> | 1541 #define ACCESS_MASM(masm) masm-> |
1542 #endif | 1542 #endif |
1543 | 1543 |
1544 | 1544 |
1545 } } // namespace v8::internal | 1545 } } // namespace v8::internal |
1546 | 1546 |
1547 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1547 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |