| 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 void LoadGlobalContext(Register global_context); | |
| 266 | |
| 267 // Load the global function with the given index. | 265 // Load the global function with the given index. |
| 268 void LoadGlobalFunction(int index, Register function); | 266 void LoadGlobalFunction(int index, Register function); |
| 269 | 267 |
| 270 // Load the initial map from the global function. The registers | 268 // Load the initial map from the global function. The registers |
| 271 // function and map can be the same. | 269 // function and map can be the same. |
| 272 void LoadGlobalFunctionInitialMap(Register function, Register map); | 270 void LoadGlobalFunctionInitialMap(Register function, Register map); |
| 273 | 271 |
| 274 // Push and pop the registers that can hold pointers. | 272 // Push and pop the registers that can hold pointers. |
| 275 void PushSafepointRegisters() { pushad(); } | 273 void PushSafepointRegisters() { pushad(); } |
| 276 void PopSafepointRegisters() { popad(); } | 274 void PopSafepointRegisters() { popad(); } |
| (...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1116 } \ | 1114 } \ |
| 1117 masm-> | 1115 masm-> |
| 1118 #else | 1116 #else |
| 1119 #define ACCESS_MASM(masm) masm-> | 1117 #define ACCESS_MASM(masm) masm-> |
| 1120 #endif | 1118 #endif |
| 1121 | 1119 |
| 1122 | 1120 |
| 1123 } } // namespace v8::internal | 1121 } } // namespace v8::internal |
| 1124 | 1122 |
| 1125 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1123 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |