OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 offset + kHeapObjectTag, | 249 offset + kHeapObjectTag, |
250 value, | 250 value, |
251 scratch, | 251 scratch, |
252 save_fp, | 252 save_fp, |
253 remembered_set_action, | 253 remembered_set_action, |
254 smi_check); | 254 smi_check); |
255 } | 255 } |
256 | 256 |
257 // Notify the garbage collector that we wrote a pointer into a fixed array. | 257 // Notify the garbage collector that we wrote a pointer into a fixed array. |
258 // |array| is the array being stored into, |value| is the | 258 // |array| is the array being stored into, |value| is the |
259 // object being stored. |index| is the array index represented as a | 259 // object being stored. |index| is the array index represented as a non-smi. |
260 // Smi. All registers are clobbered by the operation RecordWriteArray | 260 // All registers are clobbered by the operation RecordWriteArray |
261 // filters out smis so it does not update the write barrier if the | 261 // filters out smis so it does not update the write barrier if the |
262 // value is a smi. | 262 // value is a smi. |
263 void RecordWriteArray( | 263 void RecordWriteArray( |
264 Register array, | 264 Register array, |
265 Register value, | 265 Register value, |
266 Register index, | 266 Register index, |
267 SaveFPRegsMode save_fp, | 267 SaveFPRegsMode save_fp, |
268 RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET, | 268 RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET, |
269 SmiCheck smi_check = INLINE_SMI_CHECK); | 269 SmiCheck smi_check = INLINE_SMI_CHECK); |
270 | 270 |
(...skipping 1171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1442 masm->popfd(); \ | 1442 masm->popfd(); \ |
1443 } \ | 1443 } \ |
1444 masm-> | 1444 masm-> |
1445 #else | 1445 #else |
1446 #define ACCESS_MASM(masm) masm-> | 1446 #define ACCESS_MASM(masm) masm-> |
1447 #endif | 1447 #endif |
1448 | 1448 |
1449 } } // namespace v8::internal | 1449 } } // namespace v8::internal |
1450 | 1450 |
1451 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1451 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |