OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
874 class AllocationSite; | 874 class AllocationSite; |
875 class AllocationSiteCreationContext; | 875 class AllocationSiteCreationContext; |
876 class AllocationSiteUsageContext; | 876 class AllocationSiteUsageContext; |
877 class DictionaryElementsAccessor; | 877 class DictionaryElementsAccessor; |
878 class ElementsAccessor; | 878 class ElementsAccessor; |
879 class Failure; | 879 class Failure; |
880 class FixedArrayBase; | 880 class FixedArrayBase; |
881 class GlobalObject; | 881 class GlobalObject; |
882 class ObjectVisitor; | 882 class ObjectVisitor; |
883 class StringStream; | 883 class StringStream; |
884 class Type; | 884 // We cannot just say "class Type;" if it is created from a template... =8-? |
| 885 template<class> class TypeImpl; |
| 886 struct HeapTypeConfig; |
| 887 typedef TypeImpl<HeapTypeConfig> Type; |
885 | 888 |
886 | 889 |
887 // A template-ized version of the IsXXX functions. | 890 // A template-ized version of the IsXXX functions. |
888 template <class C> inline bool Is(Object* obj); | 891 template <class C> inline bool Is(Object* obj); |
889 | 892 |
890 #ifdef VERIFY_HEAP | 893 #ifdef VERIFY_HEAP |
891 #define DECLARE_VERIFIER(Name) void Name##Verify(); | 894 #define DECLARE_VERIFIER(Name) void Name##Verify(); |
892 #else | 895 #else |
893 #define DECLARE_VERIFIER(Name) | 896 #define DECLARE_VERIFIER(Name) |
894 #endif | 897 #endif |
(...skipping 9732 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10627 } else { | 10630 } else { |
10628 value &= ~(1 << bit_position); | 10631 value &= ~(1 << bit_position); |
10629 } | 10632 } |
10630 return value; | 10633 return value; |
10631 } | 10634 } |
10632 }; | 10635 }; |
10633 | 10636 |
10634 } } // namespace v8::internal | 10637 } } // namespace v8::internal |
10635 | 10638 |
10636 #endif // V8_OBJECTS_H_ | 10639 #endif // V8_OBJECTS_H_ |
OLD | NEW |