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

Side by Side Diff: src/objects.h

Issue 1488593003: Optimize clearing of map transitions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: base Created 5 years 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
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 9448 matching lines...) Expand 10 before | Expand all | Expand 10 after
9459 // This should not be called by anyone except GC. 9459 // This should not be called by anyone except GC.
9460 inline void clear(); 9460 inline void clear();
9461 9461
9462 // This should not be called by anyone except allocator. 9462 // This should not be called by anyone except allocator.
9463 inline void initialize(HeapObject* value); 9463 inline void initialize(HeapObject* value);
9464 9464
9465 inline bool cleared() const; 9465 inline bool cleared() const;
9466 9466
9467 DECL_ACCESSORS(next, Object) 9467 DECL_ACCESSORS(next, Object)
9468 9468
9469 inline void clear_next(Heap* heap); 9469 inline void clear_next(Object* the_hole_value);
Hannes Payer (out of office) 2015/12/08 14:19:41 +1
9470 9470
9471 inline bool next_cleared(); 9471 inline bool next_cleared();
9472 9472
9473 DECLARE_CAST(WeakCell) 9473 DECLARE_CAST(WeakCell)
9474 9474
9475 DECLARE_PRINTER(WeakCell) 9475 DECLARE_PRINTER(WeakCell)
9476 DECLARE_VERIFIER(WeakCell) 9476 DECLARE_VERIFIER(WeakCell)
9477 9477
9478 // Layout description. 9478 // Layout description.
9479 static const int kValueOffset = HeapObject::kHeaderSize; 9479 static const int kValueOffset = HeapObject::kHeaderSize;
(...skipping 1243 matching lines...) Expand 10 before | Expand all | Expand 10 after
10723 } 10723 }
10724 return value; 10724 return value;
10725 } 10725 }
10726 }; 10726 };
10727 10727
10728 10728
10729 } // NOLINT, false-positive due to second-order macros. 10729 } // NOLINT, false-positive due to second-order macros.
10730 } // NOLINT, false-positive due to second-order macros. 10730 } // NOLINT, false-positive due to second-order macros.
10731 10731
10732 #endif // V8_OBJECTS_H_ 10732 #endif // V8_OBJECTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698