| 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 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 654 | 654 |
| 655 // Abort execution if argument is not a number. Used in debug code. | 655 // Abort execution if argument is not a number. Used in debug code. |
| 656 void AbortIfNotNumber(Register object); | 656 void AbortIfNotNumber(Register object); |
| 657 | 657 |
| 658 // Abort execution if argument is a smi. Used in debug code. | 658 // Abort execution if argument is a smi. Used in debug code. |
| 659 void AbortIfSmi(Register object); | 659 void AbortIfSmi(Register object); |
| 660 | 660 |
| 661 // Abort execution if argument is not a smi. Used in debug code. | 661 // Abort execution if argument is not a smi. Used in debug code. |
| 662 void AbortIfNotSmi(Register object); | 662 void AbortIfNotSmi(Register object); |
| 663 | 663 |
| 664 // Abort execution if argument is a string. Used in debug code. |
| 665 void AbortIfNotString(Register object); |
| 666 |
| 664 // Abort execution if argument is not the root value with the given index. | 667 // Abort execution if argument is not the root value with the given index. |
| 665 void AbortIfNotRootValue(Register src, | 668 void AbortIfNotRootValue(Register src, |
| 666 Heap::RootListIndex root_value_index, | 669 Heap::RootListIndex root_value_index, |
| 667 const char* message); | 670 const char* message); |
| 668 | 671 |
| 669 // --------------------------------------------------------------------------- | 672 // --------------------------------------------------------------------------- |
| 670 // Exception handling | 673 // Exception handling |
| 671 | 674 |
| 672 // Push a new try handler and link into try handler chain. The return | 675 // Push a new try handler and link into try handler chain. The return |
| 673 // address must be pushed before calling this helper. | 676 // address must be pushed before calling this helper. |
| (...skipping 1125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1799 Jump(adaptor, RelocInfo::CODE_TARGET); | 1802 Jump(adaptor, RelocInfo::CODE_TARGET); |
| 1800 } | 1803 } |
| 1801 bind(&invoke); | 1804 bind(&invoke); |
| 1802 } | 1805 } |
| 1803 } | 1806 } |
| 1804 | 1807 |
| 1805 | 1808 |
| 1806 } } // namespace v8::internal | 1809 } } // namespace v8::internal |
| 1807 | 1810 |
| 1808 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1811 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |