Index: src/heap/objects-visiting.h |
diff --git a/src/heap/objects-visiting.h b/src/heap/objects-visiting.h |
index b7e031fea0c00ba5bc9d7a6b467ce0faa41a6673..10d73158c5b504c580408b006d546c04b11ac118 100644 |
--- a/src/heap/objects-visiting.h |
+++ b/src/heap/objects-visiting.h |
@@ -86,11 +86,11 @@ class StaticVisitorBase : public AllStatic { |
// Determine which specialized visitor should be used for given instance type |
// and instance type. |
- static VisitorId GetVisitorId(int instance_type, int instance_size, |
- bool has_unboxed_fields); |
+ static inline VisitorId GetVisitorId(int instance_type, int instance_size, |
+ bool has_unboxed_fields); |
// Determine which specialized visitor should be used for given map. |
- static VisitorId GetVisitorId(Map* map); |
+ static inline VisitorId GetVisitorId(Map* map); |
}; |