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 1870 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1881 // transitioned_kind from the native context if the map in register | 1881 // transitioned_kind from the native context if the map in register |
1882 // map_in_out is the cached Array map in the native context of | 1882 // map_in_out is the cached Array map in the native context of |
1883 // expected_kind. | 1883 // expected_kind. |
1884 void LoadTransitionedArrayMapConditional( | 1884 void LoadTransitionedArrayMapConditional( |
1885 ElementsKind expected_kind, | 1885 ElementsKind expected_kind, |
1886 ElementsKind transitioned_kind, | 1886 ElementsKind transitioned_kind, |
1887 Register map_in_out, | 1887 Register map_in_out, |
1888 Register scratch, | 1888 Register scratch, |
1889 Label* no_map_match); | 1889 Label* no_map_match); |
1890 | 1890 |
1891 void LoadArrayFunction(Register function); | |
1892 void LoadGlobalFunction(int index, Register function); | 1891 void LoadGlobalFunction(int index, Register function); |
1893 | 1892 |
1894 // Load the initial map from the global function. The registers function and | 1893 // Load the initial map from the global function. The registers function and |
1895 // map can be the same, function is then overwritten. | 1894 // map can be the same, function is then overwritten. |
1896 void LoadGlobalFunctionInitialMap(Register function, | 1895 void LoadGlobalFunctionInitialMap(Register function, |
1897 Register map, | 1896 Register map, |
1898 Register scratch); | 1897 Register scratch); |
1899 | 1898 |
1900 // -------------------------------------------------------------------------- | 1899 // -------------------------------------------------------------------------- |
1901 // Set the registers used internally by the MacroAssembler as scratch | 1900 // Set the registers used internally by the MacroAssembler as scratch |
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2319 #error "Unsupported option" | 2318 #error "Unsupported option" |
2320 #define CODE_COVERAGE_STRINGIFY(x) #x | 2319 #define CODE_COVERAGE_STRINGIFY(x) #x |
2321 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2320 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
2322 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2321 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
2323 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2322 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
2324 #else | 2323 #else |
2325 #define ACCESS_MASM(masm) masm-> | 2324 #define ACCESS_MASM(masm) masm-> |
2326 #endif | 2325 #endif |
2327 | 2326 |
2328 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_ | 2327 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_ |
OLD | NEW |