Change asm to __asm__ in helpers.c (#6188)
This is an attempt to fix #6177 since according to [this reference][1] some modes of compilation require `__asm__` instead of `asm`. [1]: https://en.cppreference.com/w/c/language/asm
This commit is contained in:
@@ -75,7 +75,7 @@ __attribute__((weak, noinline))
|
||||
#endif
|
||||
void __jit_debug_register_code() {
|
||||
#ifndef CFG_TARGET_OS_windows
|
||||
asm("");
|
||||
__asm__("");
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@ struct JITDescriptor {
|
||||
|
||||
#ifdef CFG_TARGET_OS_windows
|
||||
// export required for external access.
|
||||
__declspec(dllexport)
|
||||
__declspec(dllexport)
|
||||
#else
|
||||
// Note the `weak` linkage here which is the same purpose as above. We want to
|
||||
// let other runtimes be able to override this since our own definition isn't
|
||||
|
||||
Reference in New Issue
Block a user