OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
778 Register value2, | 778 Register value2, |
779 Label* not_smi_label); | 779 Label* not_smi_label); |
780 | 780 |
781 // Abort execution if argument is a smi, enabled via --debug-code. | 781 // Abort execution if argument is a smi, enabled via --debug-code. |
782 void AssertNotSmi(Register object, BailoutReason reason = kOperandIsASmi); | 782 void AssertNotSmi(Register object, BailoutReason reason = kOperandIsASmi); |
783 void AssertSmi(Register object, BailoutReason reason = kOperandIsNotASmi); | 783 void AssertSmi(Register object, BailoutReason reason = kOperandIsNotASmi); |
784 | 784 |
785 // Abort execution if argument is not a name, enabled via --debug-code. | 785 // Abort execution if argument is not a name, enabled via --debug-code. |
786 void AssertName(Register object); | 786 void AssertName(Register object); |
787 | 787 |
| 788 // Abort execution if argument is not undefined or an AllocationSite, enabled |
| 789 // via --debug-code. |
| 790 void AssertUndefinedOrAllocationSite(Register object, Register scratch); |
| 791 |
788 // Abort execution if argument is not a string, enabled via --debug-code. | 792 // Abort execution if argument is not a string, enabled via --debug-code. |
789 void AssertString(Register object); | 793 void AssertString(Register object); |
790 | 794 |
791 void JumpForHeapNumber(Register object, | 795 void JumpForHeapNumber(Register object, |
792 Register heap_number_map, | 796 Register heap_number_map, |
793 Label* on_heap_number, | 797 Label* on_heap_number, |
794 Label* on_not_heap_number = NULL); | 798 Label* on_not_heap_number = NULL); |
795 void JumpIfHeapNumber(Register object, | 799 void JumpIfHeapNumber(Register object, |
796 Label* on_heap_number, | 800 Label* on_heap_number, |
797 Register heap_number_map = NoReg); | 801 Register heap_number_map = NoReg); |
(...skipping 1385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2183 #error "Unsupported option" | 2187 #error "Unsupported option" |
2184 #define CODE_COVERAGE_STRINGIFY(x) #x | 2188 #define CODE_COVERAGE_STRINGIFY(x) #x |
2185 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2189 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
2186 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2190 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
2187 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2191 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
2188 #else | 2192 #else |
2189 #define ACCESS_MASM(masm) masm-> | 2193 #define ACCESS_MASM(masm) masm-> |
2190 #endif | 2194 #endif |
2191 | 2195 |
2192 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_ | 2196 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_ |
OLD | NEW |