Chromium Code Reviews

Unified Diff: src/heap/scavenger.h

Issue 2950993002: Make some functions that are hit during renderer startup available for inlining (Closed)
Patch Set: Created 3 years, 6 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/heap/scavenger.h
diff --git a/src/heap/scavenger.h b/src/heap/scavenger.h
index 09f2955651e29909d0e35276af5c1bb762db7201..888b2230c5be0a4092d479ed47cb53444718ff2d 100644
--- a/src/heap/scavenger.h
+++ b/src/heap/scavenger.h
@@ -30,7 +30,7 @@ class Scavenger {
Address slot_address);
// Slow part of {ScavengeObject} above.
- static void ScavengeObjectSlow(HeapObject** p, HeapObject* object);
+ static inline void ScavengeObjectSlow(HeapObject** p, HeapObject* object);
// Chooses an appropriate static visitor table depending on the current state
// of the heap (i.e. incremental marking, logging and profiling).

Powered by Google App Engine