Chromium Code Reviews

Unified Diff: src/objects-inl.h

Issue 2401653002: [turbofan] Discard the shared code entry in the optimized code map. (Closed)
Patch Set: Dead code. Created 4 years, 2 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
Index: src/objects-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index a48d7c8576dd03b1daa745ee9a6f7b1282a591b7..5bfc976ff2ce6653ab474cb0f22f0ff904fecc39 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -6418,7 +6418,7 @@ bool SharedFunctionInfo::IsSubjectToDebugging() { return !IsBuiltin(); }
bool SharedFunctionInfo::OptimizedCodeMapIsCleared() const {
- return optimized_code_map() == GetHeap()->cleared_optimized_code_map();
+ return optimized_code_map() == GetHeap()->empty_fixed_array();
}

Powered by Google App Engine