| 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 868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 879 Register value2, | 879 Register value2, |
| 880 Label* not_smi_label); | 880 Label* not_smi_label); |
| 881 | 881 |
| 882 // Abort execution if argument is a smi, enabled via --debug-code. | 882 // Abort execution if argument is a smi, enabled via --debug-code. |
| 883 void AssertNotSmi(Register object, BailoutReason reason = kOperandIsASmi); | 883 void AssertNotSmi(Register object, BailoutReason reason = kOperandIsASmi); |
| 884 void AssertSmi(Register object, BailoutReason reason = kOperandIsNotASmi); | 884 void AssertSmi(Register object, BailoutReason reason = kOperandIsNotASmi); |
| 885 | 885 |
| 886 // Abort execution if argument is not a name, enabled via --debug-code. | 886 // Abort execution if argument is not a name, enabled via --debug-code. |
| 887 void AssertName(Register object); | 887 void AssertName(Register object); |
| 888 | 888 |
| 889 // Abort execution if argument is not undefined or an AllocationSite, enabled |
| 890 // via --debug-code. |
| 891 void AssertUndefinedOrAllocationSite(Register object, Register scratch); |
| 892 |
| 889 // Abort execution if argument is not a string, enabled via --debug-code. | 893 // Abort execution if argument is not a string, enabled via --debug-code. |
| 890 void AssertString(Register object); | 894 void AssertString(Register object); |
| 891 | 895 |
| 892 void JumpForHeapNumber(Register object, | 896 void JumpForHeapNumber(Register object, |
| 893 Register heap_number_map, | 897 Register heap_number_map, |
| 894 Label* on_heap_number, | 898 Label* on_heap_number, |
| 895 Label* on_not_heap_number = NULL); | 899 Label* on_not_heap_number = NULL); |
| 896 void JumpIfHeapNumber(Register object, | 900 void JumpIfHeapNumber(Register object, |
| 897 Label* on_heap_number, | 901 Label* on_heap_number, |
| 898 Register heap_number_map = NoReg); | 902 Register heap_number_map = NoReg); |
| (...skipping 1390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2289 #error "Unsupported option" | 2293 #error "Unsupported option" |
| 2290 #define CODE_COVERAGE_STRINGIFY(x) #x | 2294 #define CODE_COVERAGE_STRINGIFY(x) #x |
| 2291 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2295 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 2292 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2296 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 2293 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2297 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 2294 #else | 2298 #else |
| 2295 #define ACCESS_MASM(masm) masm-> | 2299 #define ACCESS_MASM(masm) masm-> |
| 2296 #endif | 2300 #endif |
| 2297 | 2301 |
| 2298 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_ | 2302 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_ |
| OLD | NEW |