| 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 30 matching lines...) Expand all Loading... |
| 41 #include <memory> | 41 #include <memory> |
| 42 | 42 |
| 43 namespace blink { | 43 namespace blink { |
| 44 | 44 |
| 45 template <typename T> | 45 template <typename T> |
| 46 class GarbageCollected; | 46 class GarbageCollected; |
| 47 class HeapObjectHeader; | 47 class HeapObjectHeader; |
| 48 class InlinedGlobalMarkingVisitor; | 48 class InlinedGlobalMarkingVisitor; |
| 49 template <typename T> | 49 template <typename T> |
| 50 class TraceTrait; | 50 class TraceTrait; |
| 51 template <typename T> | |
| 52 class TraceEagerlyTrait; | |
| 53 class ThreadState; | 51 class ThreadState; |
| 54 class Visitor; | 52 class Visitor; |
| 55 template <typename T> | 53 template <typename T> |
| 56 class TraceWrapperMember; | 54 class TraceWrapperMember; |
| 57 | 55 |
| 58 // The TraceMethodDelegate is used to convert a trace method for type T to a | 56 // The TraceMethodDelegate is used to convert a trace method for type T to a |
| 59 // TraceCallback. This allows us to pass a type's trace method as a parameter | 57 // TraceCallback. This allows us to pass a type's trace method as a parameter |
| 60 // to the PersistentNode constructor. The PersistentNode constructor needs the | 58 // to the PersistentNode constructor. The PersistentNode constructor needs the |
| 61 // specific trace method due an issue with the Windows compiler which | 59 // specific trace method due an issue with the Windows compiler which |
| 62 // instantiates even unused variables. This causes problems | 60 // instantiates even unused variables. This causes problems |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 return static_cast<Visitor*>(helper); | 356 return static_cast<Visitor*>(helper); |
| 359 } | 357 } |
| 360 | 358 |
| 361 ThreadState* m_state; | 359 ThreadState* m_state; |
| 362 const MarkingMode m_markingMode; | 360 const MarkingMode m_markingMode; |
| 363 }; | 361 }; |
| 364 | 362 |
| 365 } // namespace blink | 363 } // namespace blink |
| 366 | 364 |
| 367 #endif // Visitor_h | 365 #endif // Visitor_h |
| OLD | NEW |