Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index be49a2f44cc5dac8bdacefe9646482bec65ec751..ea598c14b7ba8923c7bacd3d85041675357ed984 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -564,7 +564,7 @@ void SharedFunctionInfo::SharedFunctionInfoVerify() { |
VerifyObjectField(kScopeInfoOffset); |
VerifyObjectField(kInstanceClassNameOffset); |
CHECK(function_data()->IsUndefined(GetIsolate()) || IsApiFunction() || |
- HasBytecodeArray()); |
+ HasBytecodeArray() || HasAsmWasmData()); |
VerifyObjectField(kFunctionDataOffset); |
VerifyObjectField(kScriptOffset); |
VerifyObjectField(kDebugInfoOffset); |