| Index: tools/clang/blink_gc_plugin/Config.h
|
| diff --git a/tools/clang/blink_gc_plugin/Config.h b/tools/clang/blink_gc_plugin/Config.h
|
| index 02cbee9a922dc3671c9ff850c83bdd1f50315c75..c62de053306072539003ef93baead1c3dd3a13db 100644
|
| --- a/tools/clang/blink_gc_plugin/Config.h
|
| +++ b/tools/clang/blink_gc_plugin/Config.h
|
| @@ -31,6 +31,7 @@ const char kVisitorDispatcherName[] = "VisitorDispatcher";
|
| const char kVisitorVarName[] = "visitor";
|
| const char kAdjustAndMarkName[] = "adjustAndMark";
|
| const char kIsHeapObjectAliveName[] = "isHeapObjectAlive";
|
| +const char kIsEagerlyFinalizedName[] = "IsEagerlyFinalizedMarker";
|
|
|
| class Config {
|
| public:
|
| @@ -214,7 +215,7 @@ class Config {
|
| TRACE_AFTER_DISPATCH_IMPL_METHOD
|
| };
|
|
|
| - static TraceMethodType GetTraceMethodType(clang::FunctionDecl* method) {
|
| + static TraceMethodType GetTraceMethodType(const clang::FunctionDecl* method) {
|
| if (method->getNumParams() != 1)
|
| return NOT_TRACE_METHOD;
|
|
|
| @@ -244,7 +245,7 @@ class Config {
|
| return NOT_TRACE_METHOD;
|
| }
|
|
|
| - static bool IsTraceMethod(clang::FunctionDecl* method) {
|
| + static bool IsTraceMethod(const clang::FunctionDecl* method) {
|
| return GetTraceMethodType(method) != NOT_TRACE_METHOD;
|
| }
|
|
|
| @@ -263,6 +264,9 @@ class Config {
|
| return false;
|
| return str.compare(str.size() - suffix.size(), suffix.size(), suffix) == 0;
|
| }
|
| +
|
| + // Test if a template specialization is an instantiation.
|
| + static bool IsTemplateInstantiation(clang::CXXRecordDecl* record);
|
| };
|
|
|
| #endif // TOOLS_BLINK_GC_PLUGIN_CONFIG_H_
|
|
|