OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_OBJECTS_H_ | 5 #ifndef V8_OBJECTS_H_ |
6 #define V8_OBJECTS_H_ | 6 #define V8_OBJECTS_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 2317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2328 // Access fast-case object properties at index. | 2328 // Access fast-case object properties at index. |
2329 static Handle<Object> FastPropertyAt(Handle<JSObject> object, | 2329 static Handle<Object> FastPropertyAt(Handle<JSObject> object, |
2330 Representation representation, | 2330 Representation representation, |
2331 FieldIndex index); | 2331 FieldIndex index); |
2332 inline Object* RawFastPropertyAt(FieldIndex index); | 2332 inline Object* RawFastPropertyAt(FieldIndex index); |
2333 inline double RawFastDoublePropertyAt(FieldIndex index); | 2333 inline double RawFastDoublePropertyAt(FieldIndex index); |
2334 | 2334 |
2335 inline void FastPropertyAtPut(FieldIndex index, Object* value); | 2335 inline void FastPropertyAtPut(FieldIndex index, Object* value); |
2336 inline void RawFastPropertyAtPut(FieldIndex index, Object* value); | 2336 inline void RawFastPropertyAtPut(FieldIndex index, Object* value); |
2337 inline void RawFastDoublePropertyAtPut(FieldIndex index, double value); | 2337 inline void RawFastDoublePropertyAtPut(FieldIndex index, double value); |
| 2338 inline void WriteToField(int descriptor, PropertyDetails details, |
| 2339 Object* value); |
2338 inline void WriteToField(int descriptor, Object* value); | 2340 inline void WriteToField(int descriptor, Object* value); |
2339 | 2341 |
2340 // Access to in object properties. | 2342 // Access to in object properties. |
2341 inline int GetInObjectPropertyOffset(int index); | 2343 inline int GetInObjectPropertyOffset(int index); |
2342 inline Object* InObjectPropertyAt(int index); | 2344 inline Object* InObjectPropertyAt(int index); |
2343 inline Object* InObjectPropertyAtPut(int index, | 2345 inline Object* InObjectPropertyAtPut(int index, |
2344 Object* value, | 2346 Object* value, |
2345 WriteBarrierMode mode | 2347 WriteBarrierMode mode |
2346 = UPDATE_WRITE_BARRIER); | 2348 = UPDATE_WRITE_BARRIER); |
2347 | 2349 |
(...skipping 8482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10830 } | 10832 } |
10831 return value; | 10833 return value; |
10832 } | 10834 } |
10833 }; | 10835 }; |
10834 | 10836 |
10835 | 10837 |
10836 } // NOLINT, false-positive due to second-order macros. | 10838 } // NOLINT, false-positive due to second-order macros. |
10837 } // NOLINT, false-positive due to second-order macros. | 10839 } // NOLINT, false-positive due to second-order macros. |
10838 | 10840 |
10839 #endif // V8_OBJECTS_H_ | 10841 #endif // V8_OBJECTS_H_ |
OLD | NEW |