Changeset 258825 in webkit for trunk/Source/JavaScriptCore/heap/HeapCell.h
- Timestamp:
- Mar 22, 2020, 9:57:06 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/heap/HeapCell.h
r253074 r258825 39 39 40 40 #if COMPILER(GCC_COMPATIBLE) 41 ALWAYS_INLINE void keepAlive(const void* pointer)41 ALWAYS_INLINE void ensureStillAliveHere(const void* pointer) 42 42 { 43 43 asm volatile ("" : : "r"(pointer) : "memory"); 44 44 } 45 45 #else 46 JS_EXPORT_PRIVATE void keepAlive(const void*);46 JS_EXPORT_PRIVATE void ensureStillAliveHere(const void*); 47 47 #endif 48 48 … … 96 96 ALWAYS_INLINE void use() const 97 97 { 98 keepAlive(this);98 ensureStillAliveHere(this); 99 99 } 100 100 };
Note:
See TracChangeset
for help on using the changeset viewer.