Chromium Code Reviews| Index: src/heap/objects-visiting.h |
| diff --git a/src/heap/objects-visiting.h b/src/heap/objects-visiting.h |
| index 92e44511fbe77dd0eb426489adf6dcc537b218bc..2fc1671c1d1bc65951e61984d32c59e4de834d5c 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, |
|
vogelheim
2017/06/21 10:18:02
[Here & elsewhere] Could we use the V8_INLINE macr
jochen (gone - plz use gerrit)
2017/06/21 10:24:21
V8_INLINE expands to __attribute__((always_inline)
|
| + 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); |
| }; |