OLD | NEW |
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2009 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 3214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3225 // following back pointers. | 3225 // following back pointers. |
3226 void ClearNonLiveTransitions(Object* real_prototype); | 3226 void ClearNonLiveTransitions(Object* real_prototype); |
3227 | 3227 |
3228 // Dispatched behavior. | 3228 // Dispatched behavior. |
3229 #ifdef DEBUG | 3229 #ifdef DEBUG |
3230 void MapPrint(); | 3230 void MapPrint(); |
3231 void MapVerify(); | 3231 void MapVerify(); |
3232 void NormalizedMapVerify(); | 3232 void NormalizedMapVerify(); |
3233 #endif | 3233 #endif |
3234 | 3234 |
| 3235 void TraverseTransitionTree(); |
| 3236 |
3235 inline int visitor_id(); | 3237 inline int visitor_id(); |
3236 inline void set_visitor_id(int visitor_id); | 3238 inline void set_visitor_id(int visitor_id); |
3237 | 3239 |
3238 static const int kMaxPreAllocatedPropertyFields = 255; | 3240 static const int kMaxPreAllocatedPropertyFields = 255; |
3239 | 3241 |
3240 // Layout description. | 3242 // Layout description. |
3241 static const int kInstanceSizesOffset = HeapObject::kHeaderSize; | 3243 static const int kInstanceSizesOffset = HeapObject::kHeaderSize; |
3242 static const int kInstanceAttributesOffset = kInstanceSizesOffset + kIntSize; | 3244 static const int kInstanceAttributesOffset = kInstanceSizesOffset + kIntSize; |
3243 static const int kPrototypeOffset = kInstanceAttributesOffset + kIntSize; | 3245 static const int kPrototypeOffset = kInstanceAttributesOffset + kIntSize; |
3244 static const int kConstructorOffset = kPrototypeOffset + kPointerSize; | 3246 static const int kConstructorOffset = kPrototypeOffset + kPointerSize; |
(...skipping 2317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5562 } else { | 5564 } else { |
5563 value &= ~(1 << bit_position); | 5565 value &= ~(1 << bit_position); |
5564 } | 5566 } |
5565 return value; | 5567 return value; |
5566 } | 5568 } |
5567 }; | 5569 }; |
5568 | 5570 |
5569 } } // namespace v8::internal | 5571 } } // namespace v8::internal |
5570 | 5572 |
5571 #endif // V8_OBJECTS_H_ | 5573 #endif // V8_OBJECTS_H_ |
OLD | NEW |