| 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 629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 640 | 640 |
| 641 // Abort execution if argument is not a number. Used in debug code. | 641 // Abort execution if argument is not a number. Used in debug code. |
| 642 void AbortIfNotNumber(Register object); | 642 void AbortIfNotNumber(Register object); |
| 643 | 643 |
| 644 // Abort execution if argument is a smi. Used in debug code. | 644 // Abort execution if argument is a smi. Used in debug code. |
| 645 void AbortIfSmi(Register object); | 645 void AbortIfSmi(Register object); |
| 646 | 646 |
| 647 // Abort execution if argument is not a smi. Used in debug code. | 647 // Abort execution if argument is not a smi. Used in debug code. |
| 648 void AbortIfNotSmi(Register object); | 648 void AbortIfNotSmi(Register object); |
| 649 | 649 |
| 650 // Abort execution if argument is a string. Used in debug code. |
| 651 void AbortIfNotString(Register object); |
| 652 |
| 650 // Abort execution if argument is not the root value with the given index. | 653 // Abort execution if argument is not the root value with the given index. |
| 651 void AbortIfNotRootValue(Register src, | 654 void AbortIfNotRootValue(Register src, |
| 652 Heap::RootListIndex root_value_index, | 655 Heap::RootListIndex root_value_index, |
| 653 const char* message); | 656 const char* message); |
| 654 | 657 |
| 655 // --------------------------------------------------------------------------- | 658 // --------------------------------------------------------------------------- |
| 656 // Exception handling | 659 // Exception handling |
| 657 | 660 |
| 658 // Push a new try handler and link into try handler chain. The return | 661 // Push a new try handler and link into try handler chain. The return |
| 659 // address must be pushed before calling this helper. | 662 // address must be pushed before calling this helper. |
| (...skipping 1112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1772 Jump(adaptor, RelocInfo::CODE_TARGET); | 1775 Jump(adaptor, RelocInfo::CODE_TARGET); |
| 1773 } | 1776 } |
| 1774 bind(&invoke); | 1777 bind(&invoke); |
| 1775 } | 1778 } |
| 1776 } | 1779 } |
| 1777 | 1780 |
| 1778 | 1781 |
| 1779 } } // namespace v8::internal | 1782 } } // namespace v8::internal |
| 1780 | 1783 |
| 1781 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1784 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |