Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index a57d6e633b89509e07280067a4282d16a544c486..dbfe33aee10326101f9e48d2bbcf774114019f4d 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -549,8 +549,10 @@ void SlicedString::SlicedStringVerify() { |
void JSBoundFunction::JSBoundFunctionVerify() { |
CHECK(IsJSBoundFunction()); |
- VerifyObjectField(kLengthOffset); |
- VerifyObjectField(kNameOffset); |
+ if (HasFastProperties()) { |
+ VerifyObjectField(kLengthOffset); |
+ VerifyObjectField(kNameOffset); |
+ } |
VerifyObjectField(kBoundThisOffset); |
VerifyObjectField(kBoundTargetFunctionOffset); |
VerifyObjectField(kBoundArgumentsOffset); |