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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
214 // argument in register esi. | 214 // argument in register esi. |
215 void LeaveExitFrame(bool save_doubles); | 215 void LeaveExitFrame(bool save_doubles); |
216 | 216 |
217 // Leave the current exit frame. Expects the return value in | 217 // Leave the current exit frame. Expects the return value in |
218 // register eax (untouched). | 218 // register eax (untouched). |
219 void LeaveApiExitFrame(); | 219 void LeaveApiExitFrame(); |
220 | 220 |
221 // Find the function context up the context chain. | 221 // Find the function context up the context chain. |
222 void LoadContext(Register dst, int context_chain_length); | 222 void LoadContext(Register dst, int context_chain_length); |
223 | 223 |
224 // Load the initial map for new Arrays of a given type. | 224 // Conditionally load the cached Array transitioned map of type |
225 void LoadGlobalInitialConstructedArrayMap(Register function_in, | 225 // transitioned_kind from the global context if the map in register |
226 Register scratch, | 226 // map_in_out is the cached Array map in the global context of |
227 Register map_out); | 227 // expected_kind. |
228 void LoadTransitionedArrayMapConditional( | |
229 ElementsKind expected_kind, | |
230 ElementsKind transitioned_kind, | |
231 Register map_in_out, | |
232 Register scratch, | |
233 Label* no_map_match); | |
234 | |
235 // Load the initial map for a new Arrays from a JSFunction. | |
Michael Starzinger
2012/02/01 08:53:26
Drop the "a" in the comment.
danno
2012/02/06 14:13:14
Done.
| |
236 void LoadInitialArrayMap(Register function_in, | |
237 Register scratch, | |
238 Register map_out); | |
228 | 239 |
229 // Load the global function with the given index. | 240 // Load the global function with the given index. |
230 void LoadGlobalFunction(int index, Register function); | 241 void LoadGlobalFunction(int index, Register function); |
231 | 242 |
232 // Load the initial map from the global function. The registers | 243 // Load the initial map from the global function. The registers |
233 // function and map can be the same. | 244 // function and map can be the same. |
234 void LoadGlobalFunctionInitialMap(Register function, Register map); | 245 void LoadGlobalFunctionInitialMap(Register function, Register map); |
235 | 246 |
236 // Push and pop the registers that can hold pointers. | 247 // Push and pop the registers that can hold pointers. |
237 void PushSafepointRegisters() { pushad(); } | 248 void PushSafepointRegisters() { pushad(); } |
(...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
955 } \ | 966 } \ |
956 masm-> | 967 masm-> |
957 #else | 968 #else |
958 #define ACCESS_MASM(masm) masm-> | 969 #define ACCESS_MASM(masm) masm-> |
959 #endif | 970 #endif |
960 | 971 |
961 | 972 |
962 } } // namespace v8::internal | 973 } } // namespace v8::internal |
963 | 974 |
964 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 975 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |