Index: src/layout-descriptor-inl.h |
diff --git a/src/layout-descriptor-inl.h b/src/layout-descriptor-inl.h |
index bade05e2e8517db654c0adafda7b84eec798c9af..4f193b30e833b9f2e30804219811cb7afac65cc4 100644 |
--- a/src/layout-descriptor-inl.h |
+++ b/src/layout-descriptor-inl.h |
@@ -28,7 +28,7 @@ Handle<LayoutDescriptor> LayoutDescriptor::New(Isolate* isolate, int length) { |
bool LayoutDescriptor::InobjectUnboxedField(int inobject_properties, |
PropertyDetails details) { |
- if (details.type() != DATA || !details.representation().IsDouble()) { |
+ if (details.location() != kField || !details.representation().IsDouble()) { |
return false; |
} |
// We care only about in-object properties. |