OLD | NEW |
---|---|
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 1380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1391 Object* NormalizeElements(); | 1391 Object* NormalizeElements(); |
1392 | 1392 |
1393 // Transform slow named properties to fast variants. | 1393 // Transform slow named properties to fast variants. |
1394 // Returns failure if allocation failed. | 1394 // Returns failure if allocation failed. |
1395 Object* TransformToFastProperties(int unused_property_fields); | 1395 Object* TransformToFastProperties(int unused_property_fields); |
1396 | 1396 |
1397 // Access fast-case object properties at index. | 1397 // Access fast-case object properties at index. |
1398 inline Object* FastPropertyAt(int index); | 1398 inline Object* FastPropertyAt(int index); |
1399 inline Object* FastPropertyAtPut(int index, Object* value); | 1399 inline Object* FastPropertyAtPut(int index, Object* value); |
1400 | 1400 |
1401 // Access to set in object properties. | 1401 // Access to set in object properties. |
Erik Corry
2009/03/20 09:09:36
÷set
olehougaard
2009/03/23 07:26:46
Fixed
| |
1402 inline Object* InObjectPropertyAt(int index); | |
1402 inline Object* InObjectPropertyAtPut(int index, | 1403 inline Object* InObjectPropertyAtPut(int index, |
1403 Object* value, | 1404 Object* value, |
1404 WriteBarrierMode mode | 1405 WriteBarrierMode mode |
1405 = UPDATE_WRITE_BARRIER); | 1406 = UPDATE_WRITE_BARRIER); |
1406 | 1407 |
1407 // initializes the body after properties slot, properties slot is | 1408 // initializes the body after properties slot, properties slot is |
1408 // initialized by set_properties | 1409 // initialized by set_properties |
1409 // Note: this call does not update write barrier, it is caller's | 1410 // Note: this call does not update write barrier, it is caller's |
1410 // reponsibility to ensure that *v* can be collected without WB here. | 1411 // reponsibility to ensure that *v* can be collected without WB here. |
1411 inline void InitializeBody(int object_size); | 1412 inline void InitializeBody(int object_size); |
(...skipping 2896 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4308 } else { | 4309 } else { |
4309 value &= ~(1 << bit_position); | 4310 value &= ~(1 << bit_position); |
4310 } | 4311 } |
4311 return value; | 4312 return value; |
4312 } | 4313 } |
4313 }; | 4314 }; |
4314 | 4315 |
4315 } } // namespace v8::internal | 4316 } } // namespace v8::internal |
4316 | 4317 |
4317 #endif // V8_OBJECTS_H_ | 4318 #endif // V8_OBJECTS_H_ |
OLD | NEW |