aboutsummaryrefslogtreecommitdiff
path: root/src/ir.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-06-18 17:07:27 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-06-18 17:07:27 -0400
commite27da17ff2cc45c93ab95defd937fd8038751b51 (patch)
treec2363e347fa05a3ca70170edefa073731319fc0f /src/ir.cpp
parent77e0c53613335a007fb4437c8de99868786313eb (diff)
downloadzig-e27da17ff2cc45c93ab95defd937fd8038751b51.tar.gz
zig-e27da17ff2cc45c93ab95defd937fd8038751b51.zip
back to many behavioral tests passing
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 90d79995e1..4d2221ab39 100644
--- a/src/ir.cpp
+++ b/src/ir.cpp
@@ -14999,7 +14999,7 @@ static IrInstruction *ir_resolve_result_raw(IrAnalyze *ira, IrInstruction *suspe
return parent_result_loc;
}
// because is_comptime is false, we mark this a runtime pointer
- parent_result_loc->value.data.x_ptr.mut = ConstPtrMutRuntimeVar;
+ parent_result_loc->value.special = ConstValSpecialRuntime;
result_loc->written = true;
result_loc->resolved_loc = parent_result_loc;
return result_loc->resolved_loc;