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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 Register map_in_out, | 248 Register map_in_out, |
249 Register scratch, | 249 Register scratch, |
250 Label* no_map_match); | 250 Label* no_map_match); |
251 | 251 |
252 // Load the initial map for new Arrays from a JSFunction. | 252 // Load the initial map for new Arrays from a JSFunction. |
253 void LoadInitialArrayMap(Register function_in, | 253 void LoadInitialArrayMap(Register function_in, |
254 Register scratch, | 254 Register scratch, |
255 Register map_out, | 255 Register map_out, |
256 bool can_have_holes); | 256 bool can_have_holes); |
257 | 257 |
| 258 void LoadInitialArrayMap(Register function_in, |
| 259 Register elements_kind, |
| 260 Register map_out); |
| 261 |
| 262 void LoadInitialArrayMap(Register function_in, |
| 263 ElementsKind elements_kind, |
| 264 Register scratch); |
| 265 |
258 // Load the global function with the given index. | 266 // Load the global function with the given index. |
259 void LoadGlobalFunction(int index, Register function); | 267 void LoadGlobalFunction(int index, Register function); |
260 | 268 |
261 // Load the initial map from the global function. The registers | 269 // Load the initial map from the global function. The registers |
262 // function and map can be the same. | 270 // function and map can be the same. |
263 void LoadGlobalFunctionInitialMap(Register function, Register map); | 271 void LoadGlobalFunctionInitialMap(Register function, Register map); |
264 | 272 |
265 // Push and pop the registers that can hold pointers. | 273 // Push and pop the registers that can hold pointers. |
266 void PushSafepointRegisters() { pushad(); } | 274 void PushSafepointRegisters() { pushad(); } |
267 void PopSafepointRegisters() { popad(); } | 275 void PopSafepointRegisters() { popad(); } |
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
998 } \ | 1006 } \ |
999 masm-> | 1007 masm-> |
1000 #else | 1008 #else |
1001 #define ACCESS_MASM(masm) masm-> | 1009 #define ACCESS_MASM(masm) masm-> |
1002 #endif | 1010 #endif |
1003 | 1011 |
1004 | 1012 |
1005 } } // namespace v8::internal | 1013 } } // namespace v8::internal |
1006 | 1014 |
1007 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1015 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |