OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 1216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1227 // transitioned_kind from the native context if the map in register | 1227 // transitioned_kind from the native context if the map in register |
1228 // map_in_out is the cached Array map in the native context of | 1228 // map_in_out is the cached Array map in the native context of |
1229 // expected_kind. | 1229 // expected_kind. |
1230 void LoadTransitionedArrayMapConditional( | 1230 void LoadTransitionedArrayMapConditional( |
1231 ElementsKind expected_kind, | 1231 ElementsKind expected_kind, |
1232 ElementsKind transitioned_kind, | 1232 ElementsKind transitioned_kind, |
1233 Register map_in_out, | 1233 Register map_in_out, |
1234 Register scratch, | 1234 Register scratch, |
1235 Label* no_map_match); | 1235 Label* no_map_match); |
1236 | 1236 |
1237 // Load the initial map for new Arrays from a JSFunction. | |
1238 void LoadInitialArrayMap(Register function_in, | |
1239 Register scratch, | |
1240 Register map_out, | |
1241 bool can_have_holes); | |
1242 | |
1243 // Load the global function with the given index. | 1237 // Load the global function with the given index. |
1244 void LoadGlobalFunction(int index, Register function); | 1238 void LoadGlobalFunction(int index, Register function); |
1245 void LoadArrayFunction(Register function); | 1239 void LoadArrayFunction(Register function); |
1246 | 1240 |
1247 // Load the initial map from the global function. The registers | 1241 // Load the initial map from the global function. The registers |
1248 // function and map can be the same. | 1242 // function and map can be the same. |
1249 void LoadGlobalFunctionInitialMap(Register function, Register map); | 1243 void LoadGlobalFunctionInitialMap(Register function, Register map); |
1250 | 1244 |
1251 // --------------------------------------------------------------------------- | 1245 // --------------------------------------------------------------------------- |
1252 // Runtime calls | 1246 // Runtime calls |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1614 masm->popfq(); \ | 1608 masm->popfq(); \ |
1615 } \ | 1609 } \ |
1616 masm-> | 1610 masm-> |
1617 #else | 1611 #else |
1618 #define ACCESS_MASM(masm) masm-> | 1612 #define ACCESS_MASM(masm) masm-> |
1619 #endif | 1613 #endif |
1620 | 1614 |
1621 } } // namespace v8::internal | 1615 } } // namespace v8::internal |
1622 | 1616 |
1623 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1617 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |