UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
VVMEnsureStillAlive.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#if WITH_VERSE_VM || defined(__INTELLISENSE__)
6
7
#include "
VerseVM/VVMUnreachable.h
"
8
9
namespace
Verse
10
{
11
12
inline
void
EnsureStillAliveHere
(
const
void
* Pointer)
13
{
14
#if PLATFORM_COMPILER_CLANG
15
asm
volatile
(
""
16
:
17
:
"g"
(Pointer)
18
:
"memory"
);
19
#else
20
VERSE_UNREACHABLE
();
21
#endif
22
}
23
24
}
// namespace Verse
25
26
#endif
// WITH_VERSE_VM
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
VVMUnreachable.h
VERSE_UNREACHABLE
#define VERSE_UNREACHABLE()
Definition
VVMUnreachable.h:8
Verse
Definition
Archive.h:36
Engine
Source
Runtime
CoreUObject
Public
VerseVM
VVMEnsureStillAlive.h
Generated by
1.9.8