| OLD | NEW |
| 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 6346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6357 // Zaps the contents of backing data structures. Note that the | 6357 // Zaps the contents of backing data structures. Note that the |
| 6358 // heap verifier (i.e. VerifyMarkingVisitor) relies on zapping of objects | 6358 // heap verifier (i.e. VerifyMarkingVisitor) relies on zapping of objects |
| 6359 // holding weak references when incremental marking is used, because it also | 6359 // holding weak references when incremental marking is used, because it also |
| 6360 // iterates over objects that are otherwise unreachable. | 6360 // iterates over objects that are otherwise unreachable. |
| 6361 // In general we only want to call these functions in release mode when | 6361 // In general we only want to call these functions in release mode when |
| 6362 // heap verification is turned on. | 6362 // heap verification is turned on. |
| 6363 void ZapPrototypeTransitions(); | 6363 void ZapPrototypeTransitions(); |
| 6364 void ZapTransitions(); | 6364 void ZapTransitions(); |
| 6365 | 6365 |
| 6366 void DeprecateTransitionTree(); | 6366 void DeprecateTransitionTree(); |
| 6367 void DeprecateTarget(Name* key, DescriptorArray* new_descriptors, | 6367 bool DeprecateTarget(Name* key, DescriptorArray* new_descriptors, |
| 6368 LayoutDescriptor* new_layout_descriptor); | 6368 LayoutDescriptor* new_layout_descriptor); |
| 6369 | 6369 |
| 6370 Map* FindLastMatchMap(int verbatim, int length, DescriptorArray* descriptors); | 6370 Map* FindLastMatchMap(int verbatim, int length, DescriptorArray* descriptors); |
| 6371 | 6371 |
| 6372 void UpdateFieldType(int descriptor_number, Handle<Name> name, | 6372 void UpdateFieldType(int descriptor_number, Handle<Name> name, |
| 6373 Representation new_representation, | 6373 Representation new_representation, |
| 6374 Handle<HeapType> new_type); | 6374 Handle<HeapType> new_type); |
| 6375 | 6375 |
| 6376 void PrintGeneralization(FILE* file, | 6376 void PrintGeneralization(FILE* file, |
| 6377 const char* reason, | 6377 const char* reason, |
| (...skipping 4591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10969 } else { | 10969 } else { |
| 10970 value &= ~(1 << bit_position); | 10970 value &= ~(1 << bit_position); |
| 10971 } | 10971 } |
| 10972 return value; | 10972 return value; |
| 10973 } | 10973 } |
| 10974 }; | 10974 }; |
| 10975 | 10975 |
| 10976 } } // namespace v8::internal | 10976 } } // namespace v8::internal |
| 10977 | 10977 |
| 10978 #endif // V8_OBJECTS_H_ | 10978 #endif // V8_OBJECTS_H_ |
| OLD | NEW |