projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78f9803
)
[mono] Fix HOST_WASM -> TARGET_WASM in llvm code. (#50269)
author
Zoltan Varga
<vargaz@gmail.com>
Fri, 26 Mar 2021 05:31:09 +0000
(
01:31
-0400)
committer
GitHub
<noreply@github.com>
Fri, 26 Mar 2021 05:31:09 +0000
(
01:31
-0400)
src/mono/mono/mini/mini-llvm.c
patch
|
blob
|
history
diff --git
a/src/mono/mono/mini/mini-llvm.c
b/src/mono/mono/mini/mini-llvm.c
index
c4f8ae8
..
5e7bb2b
100644
(file)
--- a/
src/mono/mono/mini/mini-llvm.c
+++ b/
src/mono/mono/mini/mini-llvm.c
@@
-1462,7
+1462,7
@@
emit_volatile_store (EmitContext *ctx, int vreg)
if (var && var->flags & (MONO_INST_VOLATILE|MONO_INST_INDIRECT)) {
g_assert (ctx->addresses [vreg]);
-#ifdef
HOS
T_WASM
+#ifdef
TARGE
T_WASM
/* Need volatile stores otherwise the compiler might move them */
mono_llvm_build_store (ctx->builder, convert (ctx, ctx->values [vreg], type_to_llvm_type (ctx, var->inst_vtype)), ctx->addresses [vreg], TRUE, LLVM_BARRIER_NONE);
#else