mirror of
https://github.com/JakeHillion/object-introspection.git
synced 2024-11-09 13:14:55 +00:00
Fix JIT CodeGen for Try<>
This commit is contained in:
parent
c2a1728072
commit
e60d06a321
@ -20,6 +20,7 @@ template<typename T>
|
|||||||
void getSizeType(const %1%<T> &container, size_t& returnArg)
|
void getSizeType(const %1%<T> &container, size_t& returnArg)
|
||||||
{
|
{
|
||||||
SAVE_SIZE(sizeof(%1%<T>));
|
SAVE_SIZE(sizeof(%1%<T>));
|
||||||
|
SAVE_DATA((uintptr_t)&container);
|
||||||
if (container.hasValue()) {
|
if (container.hasValue()) {
|
||||||
SAVE_DATA((uintptr_t)(&(container.value())));
|
SAVE_DATA((uintptr_t)(&(container.value())));
|
||||||
getSizeType(container.value(), returnArg);
|
getSizeType(container.value(), returnArg);
|
||||||
|
Loading…
Reference in New Issue
Block a user