Index: src/heap/objects-visiting.cc |
diff --git a/src/heap/objects-visiting.cc b/src/heap/objects-visiting.cc |
index ff5b8591cec4d1e8c1aa849c9051806ce2c6d8a9..0c5a0544a06f25bc1e8ed13bdac069522c10472c 100644 |
--- a/src/heap/objects-visiting.cc |
+++ b/src/heap/objects-visiting.cc |
@@ -12,6 +12,12 @@ namespace v8 { |
namespace internal { |
+StaticVisitorBase::VisitorId StaticVisitorBase::GetVisitorId(Map* map) { |
+ return GetVisitorId(map->instance_type(), map->instance_size(), |
+ FLAG_unbox_double_fields && !map->HasFastPointerLayout()); |
+} |
+ |
+ |
StaticVisitorBase::VisitorId StaticVisitorBase::GetVisitorId( |
int instance_type, int instance_size, bool has_unboxed_fields) { |
if (instance_type < FIRST_NONSTRING_TYPE) { |