| 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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 Register map_in_out, | 242 Register map_in_out, |
| 243 Register scratch, | 243 Register scratch, |
| 244 Label* no_map_match); | 244 Label* no_map_match); |
| 245 | 245 |
| 246 // Load the initial map for new Arrays from a JSFunction. | 246 // Load the initial map for new Arrays from a JSFunction. |
| 247 void LoadInitialArrayMap(Register function_in, | 247 void LoadInitialArrayMap(Register function_in, |
| 248 Register scratch, | 248 Register scratch, |
| 249 Register map_out, | 249 Register map_out, |
| 250 bool can_have_holes); | 250 bool can_have_holes); |
| 251 | 251 |
| 252 void LoadGlobalContext(Register global_context); |
| 253 |
| 252 // Load the global function with the given index. | 254 // Load the global function with the given index. |
| 253 void LoadGlobalFunction(int index, Register function); | 255 void LoadGlobalFunction(int index, Register function); |
| 254 | 256 |
| 255 // Load the initial map from the global function. The registers | 257 // Load the initial map from the global function. The registers |
| 256 // function and map can be the same. | 258 // function and map can be the same. |
| 257 void LoadGlobalFunctionInitialMap(Register function, Register map); | 259 void LoadGlobalFunctionInitialMap(Register function, Register map); |
| 258 | 260 |
| 259 // Push and pop the registers that can hold pointers. | 261 // Push and pop the registers that can hold pointers. |
| 260 void PushSafepointRegisters() { pushad(); } | 262 void PushSafepointRegisters() { pushad(); } |
| 261 void PopSafepointRegisters() { popad(); } | 263 void PopSafepointRegisters() { popad(); } |
| (...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1004 } \ | 1006 } \ |
| 1005 masm-> | 1007 masm-> |
| 1006 #else | 1008 #else |
| 1007 #define ACCESS_MASM(masm) masm-> | 1009 #define ACCESS_MASM(masm) masm-> |
| 1008 #endif | 1010 #endif |
| 1009 | 1011 |
| 1010 | 1012 |
| 1011 } } // namespace v8::internal | 1013 } } // namespace v8::internal |
| 1012 | 1014 |
| 1013 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1015 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |