Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: Source/platform/heap/Heap.h

Issue 1170273002: Oilpan: correctly define transition macro for eager finalization. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/Heap.h
diff --git a/Source/platform/heap/Heap.h b/Source/platform/heap/Heap.h
index 6c9850ca063980a8a58c6b2312bd69b152069e07..c2f2fb54379d99d6c52abdb823c6f45a2e505048 100644
--- a/Source/platform/heap/Heap.h
+++ b/Source/platform/heap/Heap.h
@@ -1183,7 +1183,6 @@ public: \
{ \
return allocateObject(size, true); \
}
-#define EAGERLY_FINALIZE_WILL_BE_REMOVED()
#if ENABLE(ASSERT) && ENABLE(OILPAN)
class VerifyEagerFinalization {
public:
@@ -1209,6 +1208,12 @@ public: \
#define EAGERLY_FINALIZE() typedef int IsEagerlyFinalizedMarker
#endif
+#if !ENABLE(OILPAN) && ENABLE(LAZY_SWEEPING)
+#define EAGERLY_FINALIZE_WILL_BE_REMOVED() EAGERLY_FINALIZE()
+#else
+#define EAGERLY_FINALIZE_WILL_BE_REMOVED()
+#endif
+
NO_SANITIZE_ADDRESS inline
size_t HeapObjectHeader::size() const
{
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698