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

Side by Side Diff: src/objects.h

Issue 1097313002: Drop unused field from PrototypeInfo (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6615 matching lines...) Expand 10 before | Expand all | Expand 10 after
6626 // [validity_cell]: Cell containing the validity bit for prototype chains 6626 // [validity_cell]: Cell containing the validity bit for prototype chains
6627 // going through this object, or Smi(0) if uninitialized. 6627 // going through this object, or Smi(0) if uninitialized.
6628 DECL_ACCESSORS(validity_cell, Object) 6628 DECL_ACCESSORS(validity_cell, Object)
6629 6629
6630 DECLARE_CAST(PrototypeInfo) 6630 DECLARE_CAST(PrototypeInfo)
6631 6631
6632 // Dispatched behavior. 6632 // Dispatched behavior.
6633 DECLARE_PRINTER(PrototypeInfo) 6633 DECLARE_PRINTER(PrototypeInfo)
6634 DECLARE_VERIFIER(PrototypeInfo) 6634 DECLARE_VERIFIER(PrototypeInfo)
6635 6635
6636 static const int kPrototypeObjectOffset = HeapObject::kHeaderSize; 6636 static const int kPrototypeUsersOffset = HeapObject::kHeaderSize;
6637 static const int kPrototypeUsersOffset =
6638 kPrototypeObjectOffset + kPointerSize;
6639 static const int kValidityCellOffset = kPrototypeUsersOffset + kPointerSize; 6637 static const int kValidityCellOffset = kPrototypeUsersOffset + kPointerSize;
6640 static const int kSize = kValidityCellOffset + kPointerSize; 6638 static const int kSize = kValidityCellOffset + kPointerSize;
6641 6639
6642 private: 6640 private:
6643 DISALLOW_IMPLICIT_CONSTRUCTORS(PrototypeInfo); 6641 DISALLOW_IMPLICIT_CONSTRUCTORS(PrototypeInfo);
6644 }; 6642 };
6645 6643
6646 6644
6647 // Script describes a script which has been added to the VM. 6645 // Script describes a script which has been added to the VM.
6648 class Script: public Struct { 6646 class Script: public Struct {
(...skipping 4440 matching lines...) Expand 10 before | Expand all | Expand 10 after
11089 } else { 11087 } else {
11090 value &= ~(1 << bit_position); 11088 value &= ~(1 << bit_position);
11091 } 11089 }
11092 return value; 11090 return value;
11093 } 11091 }
11094 }; 11092 };
11095 11093
11096 } } // namespace v8::internal 11094 } } // namespace v8::internal
11097 11095
11098 #endif // V8_OBJECTS_H_ 11096 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698