Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: src/objects.h

Issue 133683002: Retry "Templatise type representation" after making clang happy (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/list.h ('k') | src/objects.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/list.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698