| 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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 return true; \ | 182 return true; \ |
| 183 } \ | 183 } \ |
| 184 typedef char UsingPreFinazlizerMacroNeedsTrailingSemiColon | 184 typedef char UsingPreFinazlizerMacroNeedsTrailingSemiColon |
| 185 | 185 |
| 186 // List of typed heaps. The list is used to generate the implementation | 186 // List of typed heaps. The list is used to generate the implementation |
| 187 // of typed heap related methods. | 187 // of typed heap related methods. |
| 188 // | 188 // |
| 189 // To create a new typed heap add a H(<ClassName>) to the | 189 // To create a new typed heap add a H(<ClassName>) to the |
| 190 // FOR_EACH_TYPED_HEAP macro below. | 190 // FOR_EACH_TYPED_HEAP macro below. |
| 191 #define FOR_EACH_TYPED_HEAP(H) \ | 191 #define FOR_EACH_TYPED_HEAP(H) \ |
| 192 H(Node) | 192 H(Node) \ |
| 193 H(RenderObject) \ |
| 194 H(CSSValue) |
| 195 |
| 193 | 196 |
| 194 #define TypedHeapEnumName(Type) Type##Heap, | 197 #define TypedHeapEnumName(Type) Type##Heap, |
| 195 #define TypedHeapEnumNameNonFinalized(Type) Type##HeapNonFinalized, | 198 #define TypedHeapEnumNameNonFinalized(Type) Type##HeapNonFinalized, |
| 196 | 199 |
| 197 enum TypedHeaps { | 200 enum TypedHeaps { |
| 198 GeneralHeap = 0, | 201 GeneralHeap = 0, |
| 199 CollectionBackingHeap, | 202 CollectionBackingHeap, |
| 200 FOR_EACH_TYPED_HEAP(TypedHeapEnumName) | 203 FOR_EACH_TYPED_HEAP(TypedHeapEnumName) |
| 201 GeneralHeapNonFinalized, | 204 GeneralHeapNonFinalized, |
| 202 CollectionBackingHeapNonFinalized, | 205 CollectionBackingHeapNonFinalized, |
| (...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 943 // whether the page is part of a terminting thread or | 946 // whether the page is part of a terminting thread or |
| 944 // if the page is traced after being terminated (orphaned). | 947 // if the page is traced after being terminated (orphaned). |
| 945 uintptr_t m_terminating : 1; | 948 uintptr_t m_terminating : 1; |
| 946 uintptr_t m_tracedAfterOrphaned : 1; | 949 uintptr_t m_tracedAfterOrphaned : 1; |
| 947 uintptr_t m_promptlyFreedSize : 17; // == blinkPageSizeLog2 | 950 uintptr_t m_promptlyFreedSize : 17; // == blinkPageSizeLog2 |
| 948 }; | 951 }; |
| 949 | 952 |
| 950 } | 953 } |
| 951 | 954 |
| 952 #endif // ThreadState_h | 955 #endif // ThreadState_h |
| OLD | NEW |