Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(328)

Side by Side Diff: src/objects.h

Issue 2645083003: Remove one of the JSObject::WriteToField() methods in favor of another. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/json-parser.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include <memory> 9 #include <memory>
10 10
(...skipping 2495 matching lines...) Expand 10 before | Expand all | Expand 10 after
2506 Representation representation, 2506 Representation representation,
2507 FieldIndex index); 2507 FieldIndex index);
2508 inline Object* RawFastPropertyAt(FieldIndex index); 2508 inline Object* RawFastPropertyAt(FieldIndex index);
2509 inline double RawFastDoublePropertyAt(FieldIndex index); 2509 inline double RawFastDoublePropertyAt(FieldIndex index);
2510 2510
2511 inline void FastPropertyAtPut(FieldIndex index, Object* value); 2511 inline void FastPropertyAtPut(FieldIndex index, Object* value);
2512 inline void RawFastPropertyAtPut(FieldIndex index, Object* value); 2512 inline void RawFastPropertyAtPut(FieldIndex index, Object* value);
2513 inline void RawFastDoublePropertyAtPut(FieldIndex index, double value); 2513 inline void RawFastDoublePropertyAtPut(FieldIndex index, double value);
2514 inline void WriteToField(int descriptor, PropertyDetails details, 2514 inline void WriteToField(int descriptor, PropertyDetails details,
2515 Object* value); 2515 Object* value);
2516 inline void WriteToField(int descriptor, Object* value);
2517 2516
2518 // Access to in object properties. 2517 // Access to in object properties.
2519 inline int GetInObjectPropertyOffset(int index); 2518 inline int GetInObjectPropertyOffset(int index);
2520 inline Object* InObjectPropertyAt(int index); 2519 inline Object* InObjectPropertyAt(int index);
2521 inline Object* InObjectPropertyAtPut(int index, 2520 inline Object* InObjectPropertyAtPut(int index,
2522 Object* value, 2521 Object* value,
2523 WriteBarrierMode mode 2522 WriteBarrierMode mode
2524 = UPDATE_WRITE_BARRIER); 2523 = UPDATE_WRITE_BARRIER);
2525 2524
2526 // Set the object's prototype (only JSReceiver and null are allowed values). 2525 // Set the object's prototype (only JSReceiver and null are allowed values).
(...skipping 9148 matching lines...) Expand 10 before | Expand all | Expand 10 after
11675 } 11674 }
11676 }; 11675 };
11677 11676
11678 11677
11679 } // NOLINT, false-positive due to second-order macros. 11678 } // NOLINT, false-positive due to second-order macros.
11680 } // NOLINT, false-positive due to second-order macros. 11679 } // NOLINT, false-positive due to second-order macros.
11681 11680
11682 #include "src/objects/object-macros-undef.h" 11681 #include "src/objects/object-macros-undef.h"
11683 11682
11684 #endif // V8_OBJECTS_H_ 11683 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/json-parser.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698