aboutsummaryrefslogtreecommitdiff
path: root/src/ir.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-04-14 02:12:19 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-04-14 02:24:05 -0400
commitb7af9edb8a8802c35f1a460f8dafff8643b34639 (patch)
tree7a50495c844c951b344806acab6b452986f03108 /src/ir.cpp
parentfa05cab01a755827209b6ede299402f515681a81 (diff)
downloadzig-b7af9edb8a8802c35f1a460f8dafff8643b34639.tar.gz
zig-b7af9edb8a8802c35f1a460f8dafff8643b34639.zip
add std.os.createThread
this adds kernel thread support to the standard library for linux. See #174
Diffstat (limited to 'src/ir.cpp')
-rw-r--r--src/ir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir.cpp b/src/ir.cpp
index 3ba58a09bd..0fac1bd219 100644
--- a/src/ir.cpp
+++ b/src/ir.cpp
@@ -18407,6 +18407,7 @@ bool ir_has_side_effects(IrInstruction *instruction) {
case IrInstructionIdAddImplicitReturnType:
case IrInstructionIdMergeErrRetTraces:
case IrInstructionIdMarkErrRetTracePtr:
+ case IrInstructionIdAtomicRmw:
return true;
case IrInstructionIdPhi:
@@ -18487,7 +18488,6 @@ bool ir_has_side_effects(IrInstruction *instruction) {
case IrInstructionIdCoroSize:
case IrInstructionIdCoroSuspend:
case IrInstructionIdCoroFree:
- case IrInstructionIdAtomicRmw:
case IrInstructionIdCoroPromise:
case IrInstructionIdPromiseResultType:
return false;