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

Side by Side Diff: Source/wtf/DefaultAllocator.h

Issue 131803005: Add more oilpan collections support (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 { 100 {
101 ASSERT_NOT_REACHED(); 101 ASSERT_NOT_REACHED();
102 } 102 }
103 103
104 static void registerWeakMembers(...) 104 static void registerWeakMembers(...)
105 { 105 {
106 ASSERT_NOT_REACHED(); 106 ASSERT_NOT_REACHED();
107 } 107 }
108 108
109 template<typename T, typename Traits> 109 template<typename T, typename Traits>
110 static void mark(...) 110 static void trace(...)
111 { 111 {
112 ASSERT_NOT_REACHED(); 112 ASSERT_NOT_REACHED();
113 } 113 }
114
115 template<typename T>
116 struct OtherType {
117 typedef OtherType Type;
118 };
114 }; 119 };
115 120
116 // The Windows compiler seems to be very eager to instantiate things it won't 121 // The Windows compiler seems to be very eager to instantiate things it won't
117 // need, so unless we have this class we get compile errors. 122 // need, so unless we have this class we get compile errors.
118 class DefaultAllocatorDummyVisitor { 123 class DefaultAllocatorDummyVisitor {
119 public: 124 public:
120 template<typename T> inline bool isAlive(T obj) 125 template<typename T> inline bool isAlive(T obj)
121 { 126 {
122 ASSERT_NOT_REACHED(); 127 ASSERT_NOT_REACHED();
123 return false; 128 return false;
124 } 129 }
125 }; 130 };
126 131
127 } // namespace WTF 132 } // namespace WTF
128 133
129 using WTF::DefaultAllocator; 134 using WTF::DefaultAllocator;
130 135
131 #endif // WTF_DefaultAllocator_h 136 #endif // WTF_DefaultAllocator_h
OLDNEW
« Source/heap/Visitor.h ('K') | « Source/heap/Visitor.h ('k') | Source/wtf/HashMap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698