| 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..197e294f76a48dc0c2aa2fd3c8e19b4f0ae8efcb 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;
|
| }
|
|
|
|
|