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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 // transitioned_kind from the native context if the map in register | 255 // transitioned_kind from the native context if the map in register |
256 // map_in_out is the cached Array map in the native context of | 256 // map_in_out is the cached Array map in the native context of |
257 // expected_kind. | 257 // expected_kind. |
258 void LoadTransitionedArrayMapConditional( | 258 void LoadTransitionedArrayMapConditional( |
259 ElementsKind expected_kind, | 259 ElementsKind expected_kind, |
260 ElementsKind transitioned_kind, | 260 ElementsKind transitioned_kind, |
261 Register map_in_out, | 261 Register map_in_out, |
262 Register scratch, | 262 Register scratch, |
263 Label* no_map_match); | 263 Label* no_map_match); |
264 | 264 |
265 // Load the initial map for new Arrays from a JSFunction. | |
266 void LoadInitialArrayMap(Register function_in, | |
267 Register scratch, | |
268 Register map_out, | |
269 bool can_have_holes); | |
270 | |
271 void LoadGlobalContext(Register global_context); | 265 void LoadGlobalContext(Register global_context); |
272 | 266 |
273 // Load the global function with the given index. | 267 // Load the global function with the given index. |
274 void LoadGlobalFunction(int index, Register function); | 268 void LoadGlobalFunction(int index, Register function); |
275 | 269 |
276 // Load the initial map from the global function. The registers | 270 // Load the initial map from the global function. The registers |
277 // function and map can be the same. | 271 // function and map can be the same. |
278 void LoadGlobalFunctionInitialMap(Register function, Register map); | 272 void LoadGlobalFunctionInitialMap(Register function, Register map); |
279 | 273 |
280 // Push and pop the registers that can hold pointers. | 274 // Push and pop the registers that can hold pointers. |
(...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1122 } \ | 1116 } \ |
1123 masm-> | 1117 masm-> |
1124 #else | 1118 #else |
1125 #define ACCESS_MASM(masm) masm-> | 1119 #define ACCESS_MASM(masm) masm-> |
1126 #endif | 1120 #endif |
1127 | 1121 |
1128 | 1122 |
1129 } } // namespace v8::internal | 1123 } } // namespace v8::internal |
1130 | 1124 |
1131 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1125 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |