| 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 731 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 742 } | 742 } |
| 743 // Jump if either of the registers contain a non-smi. | 743 // Jump if either of the registers contain a non-smi. |
| 744 void JumpIfNotBothSmi(Register reg1, Register reg2, Label* on_not_both_smi); | 744 void JumpIfNotBothSmi(Register reg1, Register reg2, Label* on_not_both_smi); |
| 745 // Jump if either of the registers contain a smi. | 745 // Jump if either of the registers contain a smi. |
| 746 void JumpIfEitherSmi(Register reg1, Register reg2, Label* on_either_smi); | 746 void JumpIfEitherSmi(Register reg1, Register reg2, Label* on_either_smi); |
| 747 | 747 |
| 748 // Abort execution if argument is a smi. Used in debug code. | 748 // Abort execution if argument is a smi. Used in debug code. |
| 749 void AbortIfSmi(Register object); | 749 void AbortIfSmi(Register object); |
| 750 void AbortIfNotSmi(Register object); | 750 void AbortIfNotSmi(Register object); |
| 751 | 751 |
| 752 // Abort execution if argument is a string. Used in debug code. |
| 753 void AbortIfNotString(Register object); |
| 754 |
| 752 // --------------------------------------------------------------------------- | 755 // --------------------------------------------------------------------------- |
| 753 // HeapNumber utilities | 756 // HeapNumber utilities |
| 754 | 757 |
| 755 void JumpIfNotHeapNumber(Register object, | 758 void JumpIfNotHeapNumber(Register object, |
| 756 Register heap_number_map, | 759 Register heap_number_map, |
| 757 Register scratch, | 760 Register scratch, |
| 758 Label* on_not_heap_number); | 761 Label* on_not_heap_number); |
| 759 | 762 |
| 760 // --------------------------------------------------------------------------- | 763 // --------------------------------------------------------------------------- |
| 761 // String utilities | 764 // String utilities |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 890 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 893 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 891 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 894 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 892 #else | 895 #else |
| 893 #define ACCESS_MASM(masm) masm-> | 896 #define ACCESS_MASM(masm) masm-> |
| 894 #endif | 897 #endif |
| 895 | 898 |
| 896 | 899 |
| 897 } } // namespace v8::internal | 900 } } // namespace v8::internal |
| 898 | 901 |
| 899 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 902 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |