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