| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 3758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3769 void MapPrint(FILE* out); | 3769 void MapPrint(FILE* out); |
| 3770 #endif | 3770 #endif |
| 3771 #ifdef DEBUG | 3771 #ifdef DEBUG |
| 3772 void MapVerify(); | 3772 void MapVerify(); |
| 3773 void SharedMapVerify(); | 3773 void SharedMapVerify(); |
| 3774 #endif | 3774 #endif |
| 3775 | 3775 |
| 3776 inline int visitor_id(); | 3776 inline int visitor_id(); |
| 3777 inline void set_visitor_id(int visitor_id); | 3777 inline void set_visitor_id(int visitor_id); |
| 3778 | 3778 |
| 3779 // Returns the heap this map belongs to. | 3779 // Returns the isolate/heap this map belongs to. |
| 3780 inline Isolate* isolate(); |
| 3780 inline Heap* heap(); | 3781 inline Heap* heap(); |
| 3781 | 3782 |
| 3782 typedef void (*TraverseCallback)(Map* map, void* data); | 3783 typedef void (*TraverseCallback)(Map* map, void* data); |
| 3783 | 3784 |
| 3784 void TraverseTransitionTree(TraverseCallback callback, void* data); | 3785 void TraverseTransitionTree(TraverseCallback callback, void* data); |
| 3785 | 3786 |
| 3786 static const int kMaxPreAllocatedPropertyFields = 255; | 3787 static const int kMaxPreAllocatedPropertyFields = 255; |
| 3787 | 3788 |
| 3788 // Layout description. | 3789 // Layout description. |
| 3789 static const int kInstanceSizesOffset = HeapObject::kHeaderSize; | 3790 static const int kInstanceSizesOffset = HeapObject::kHeaderSize; |
| (...skipping 2827 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6617 } else { | 6618 } else { |
| 6618 value &= ~(1 << bit_position); | 6619 value &= ~(1 << bit_position); |
| 6619 } | 6620 } |
| 6620 return value; | 6621 return value; |
| 6621 } | 6622 } |
| 6622 }; | 6623 }; |
| 6623 | 6624 |
| 6624 } } // namespace v8::internal | 6625 } } // namespace v8::internal |
| 6625 | 6626 |
| 6626 #endif // V8_OBJECTS_H_ | 6627 #endif // V8_OBJECTS_H_ |
| OLD | NEW |