Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index d2e768f549a92066f472c8da52284cdd4eafa446..3385a046bd24b1e720154a7b7487006e6776f2bc 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -573,10 +573,13 @@ void SharedFunctionInfo::SharedFunctionInfoVerify() { |
VerifyObjectField(kScopeInfoOffset); |
VerifyObjectField(kInstanceClassNameOffset); |
CHECK(function_data()->IsUndefined(GetIsolate()) || IsApiFunction() || |
- HasBuiltinFunctionId() || HasBytecodeArray()); |
+ HasBytecodeArray()); |
VerifyObjectField(kFunctionDataOffset); |
VerifyObjectField(kScriptOffset); |
VerifyObjectField(kDebugInfoOffset); |
+ CHECK(function_identifier()->IsUndefined(GetIsolate()) || |
+ HasBuiltinFunctionId() || HasInferredName()); |
+ VerifyObjectField(kFunctionIdentifierOffset); |
} |