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 // We cannot just say "class Type;" if it is created from a template... =8-? | 884 class Type; |
885 template<class> class TypeImpl; | |
886 struct HeapTypeConfig; | |
887 typedef TypeImpl<HeapTypeConfig> Type; | |
888 | 885 |
889 | 886 |
890 // A template-ized version of the IsXXX functions. | 887 // A template-ized version of the IsXXX functions. |
891 template <class C> inline bool Is(Object* obj); | 888 template <class C> inline bool Is(Object* obj); |
892 | 889 |
893 #ifdef VERIFY_HEAP | 890 #ifdef VERIFY_HEAP |
894 #define DECLARE_VERIFIER(Name) void Name##Verify(); | 891 #define DECLARE_VERIFIER(Name) void Name##Verify(); |
895 #else | 892 #else |
896 #define DECLARE_VERIFIER(Name) | 893 #define DECLARE_VERIFIER(Name) |
897 #endif | 894 #endif |
(...skipping 9732 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10630 } else { | 10627 } else { |
10631 value &= ~(1 << bit_position); | 10628 value &= ~(1 << bit_position); |
10632 } | 10629 } |
10633 return value; | 10630 return value; |
10634 } | 10631 } |
10635 }; | 10632 }; |
10636 | 10633 |
10637 } } // namespace v8::internal | 10634 } } // namespace v8::internal |
10638 | 10635 |
10639 #endif // V8_OBJECTS_H_ | 10636 #endif // V8_OBJECTS_H_ |
OLD | NEW |