Chromium Code Reviews

Unified Diff: src/objects/shared-function-info-inl.h

Issue 2909893002: [debug] Untangle DebugInfo from break point support (Closed)
Patch Set: Address comments Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « src/objects/shared-function-info.h ('k') | test/cctest/test-debug.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects/shared-function-info-inl.h
diff --git a/src/objects/shared-function-info-inl.h b/src/objects/shared-function-info-inl.h
index 294ccb67e17b52d0a27d7436975930db27d4aad4..a261d6186caa2359f123216be0c2746cebe025f2 100644
--- a/src/objects/shared-function-info-inl.h
+++ b/src/objects/shared-function-info-inl.h
@@ -277,7 +277,6 @@ bool SharedFunctionInfo::has_simple_parameters() {
bool SharedFunctionInfo::HasDebugInfo() const {
bool has_debug_info = !debug_info()->IsSmi();
DCHECK_EQ(debug_info()->IsStruct(), has_debug_info);
- DCHECK(!has_debug_info || HasDebugCode());
return has_debug_info;
}
« no previous file with comments | « src/objects/shared-function-info.h ('k') | test/cctest/test-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine