Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 13 matching lines...) Expand all Loading... | |
| 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef Visitor_h | 31 #ifndef Visitor_h |
| 32 #define Visitor_h | 32 #define Visitor_h |
| 33 | 33 |
| 34 #if !defined(Heap_h) && !defined(Visitor_cpp) | |
| 35 # error Do not include platform/heap/Visitor.h directly. Include platform/heap/H eap.h instead. | |
|
haraken
2015/02/16 04:50:45
Heap.h => Handle.h
I don't fully understand a ben
| |
| 36 #endif | |
| 37 | |
| 34 #include "platform/PlatformExport.h" | 38 #include "platform/PlatformExport.h" |
| 35 #include "platform/heap/StackFrameDepth.h" | 39 #include "platform/heap/StackFrameDepth.h" |
| 36 #include "platform/heap/ThreadState.h" | 40 #include "platform/heap/ThreadState.h" |
| 37 #include "wtf/Assertions.h" | 41 #include "wtf/Assertions.h" |
| 38 #include "wtf/Atomics.h" | 42 #include "wtf/Atomics.h" |
| 39 #include "wtf/Deque.h" | 43 #include "wtf/Deque.h" |
| 40 #include "wtf/Forward.h" | 44 #include "wtf/Forward.h" |
| 41 #include "wtf/HashMap.h" | 45 #include "wtf/HashMap.h" |
| 42 #include "wtf/HashTraits.h" | 46 #include "wtf/HashTraits.h" |
| 43 #include "wtf/InstanceCounter.h" | 47 #include "wtf/InstanceCounter.h" |
| (...skipping 955 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 999 struct GCInfoTrait { | 1003 struct GCInfoTrait { |
| 1000 static size_t index() | 1004 static size_t index() |
| 1001 { | 1005 { |
| 1002 return GCInfoAtBase<typename GetGarbageCollectedBase<T>::type>::index(); | 1006 return GCInfoAtBase<typename GetGarbageCollectedBase<T>::type>::index(); |
| 1003 } | 1007 } |
| 1004 }; | 1008 }; |
| 1005 | 1009 |
| 1006 } | 1010 } |
| 1007 | 1011 |
| 1008 #endif | 1012 #endif |
| OLD | NEW |