OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
622 | 622 |
623 // Abort execution if argument is not a number. Used in debug code. | 623 // Abort execution if argument is not a number. Used in debug code. |
624 void AbortIfNotNumber(Register object); | 624 void AbortIfNotNumber(Register object); |
625 | 625 |
626 // Abort execution if argument is a smi. Used in debug code. | 626 // Abort execution if argument is a smi. Used in debug code. |
627 void AbortIfSmi(Register object); | 627 void AbortIfSmi(Register object); |
628 | 628 |
629 // Abort execution if argument is not a smi. Used in debug code. | 629 // Abort execution if argument is not a smi. Used in debug code. |
630 void AbortIfNotSmi(Register object); | 630 void AbortIfNotSmi(Register object); |
631 | 631 |
| 632 // Abort execution if argument is a string. Used in debug code. |
| 633 void AbortIfNotString(Register object); |
| 634 |
632 // Abort execution if argument is not the root value with the given index. | 635 // Abort execution if argument is not the root value with the given index. |
633 void AbortIfNotRootValue(Register src, | 636 void AbortIfNotRootValue(Register src, |
634 Heap::RootListIndex root_value_index, | 637 Heap::RootListIndex root_value_index, |
635 const char* message); | 638 const char* message); |
636 | 639 |
637 // --------------------------------------------------------------------------- | 640 // --------------------------------------------------------------------------- |
638 // Exception handling | 641 // Exception handling |
639 | 642 |
640 // Push a new try handler and link into try handler chain. The return | 643 // Push a new try handler and link into try handler chain. The return |
641 // address must be pushed before calling this helper. | 644 // address must be pushed before calling this helper. |
(...skipping 1095 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1737 Jump(adaptor, RelocInfo::CODE_TARGET); | 1740 Jump(adaptor, RelocInfo::CODE_TARGET); |
1738 } | 1741 } |
1739 bind(&invoke); | 1742 bind(&invoke); |
1740 } | 1743 } |
1741 } | 1744 } |
1742 | 1745 |
1743 | 1746 |
1744 } } // namespace v8::internal | 1747 } } // namespace v8::internal |
1745 | 1748 |
1746 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1749 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |