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

Side by Side Diff: src/objects.h

Issue 1717603002: [LookupIterator] Optimize the path that writes to fields. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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/lookup.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 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 2317 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « src/lookup.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698