Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 6e55449a8983bec4bbb93ddb7e21a6419dc692cf..a80d2f82c649bb261f226caf6c0039b0195497cc 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -6495,9 +6495,9 @@ bool SharedFunctionInfo::IsBuiltin() { |
return type != Script::TYPE_NORMAL; |
} |
- |
-bool SharedFunctionInfo::IsSubjectToDebugging() { return !IsBuiltin(); } |
- |
+bool SharedFunctionInfo::IsSubjectToDebugging() { |
+ return !IsBuiltin() && !HasAsmWasmData(); |
+} |
bool SharedFunctionInfo::OptimizedCodeMapIsCleared() const { |
return optimized_code_map() == GetHeap()->empty_fixed_array(); |