Removed NOINLINE

This commit is contained in:
Tom Lally 2022-08-28 10:13:37 +01:00
parent 52a7f6fcd5
commit fc407e509e
3 changed files with 2 additions and 9 deletions

View file

@ -34,7 +34,7 @@ PPCInterpreter_t* PPCInterpreter_getCurrentInstance()
return ppcInterpreterCurrentInstance; return ppcInterpreterCurrentInstance;
} }
NOINLINE uint64 PPCInterpreter_getMainCoreCycleCounter() uint64 PPCInterpreter_getMainCoreCycleCounter()
{ {
return PPCTimer_getFromRDTSC(); return PPCTimer_getFromRDTSC();
} }

View file

@ -28,7 +28,7 @@ namespace coreinit
osLib_returnFromFunction64(hCPU, osTime); osLib_returnFromFunction64(hCPU, osTime);
} }
NOINLINE uint64 coreinit_getTimeBase_dummy() uint64 coreinit_getTimeBase_dummy()
{ {
return __rdtsc(); return __rdtsc();
} }

View file

@ -253,13 +253,6 @@ typedef union _LARGE_INTEGER {
#error No definition for DLLEXPORT and DLLIMPORT #error No definition for DLLEXPORT and DLLIMPORT
#endif #endif
#if defined(_MSC_VER)
#define NOINLINE __declspec(noinline)
#elif defined(__GNUC__)
#define NOINLINE __attribute__((noinline))
#else
#error No definition for NOINLINE
#endif
// MEMPTR // MEMPTR
#include "Common/MemPtr.h" #include "Common/MemPtr.h"