aboutsummaryrefslogtreecommitdiff
path: root/src/analyze.cpp
diff options
context:
space:
mode:
authorFelix Queißner <git@mq32.de>2019-10-22 20:29:25 +0200
committerFelix Queißner <git@mq32.de>2019-10-22 20:29:25 +0200
commit03f1ad5007fd747bf386058222f9dfb9a925ef02 (patch)
tree15add24f509ca3c5b2efc08d62419858f2d79c4c /src/analyze.cpp
parent5456eb11078a630afc21d52ebb515ac753764a84 (diff)
parente839250c5156d438f76e7b08e7053e9087fae77c (diff)
downloadzig-03f1ad5007fd747bf386058222f9dfb9a925ef02.tar.gz
zig-03f1ad5007fd747bf386058222f9dfb9a925ef02.zip
Merge branch 'master' of https://github.com/ziglang/zig into markdown-renderer
Diffstat (limited to 'src/analyze.cpp')
-rw-r--r--src/analyze.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/analyze.cpp b/src/analyze.cpp
index 92b221a2ec..ed4547957b 100644
--- a/src/analyze.cpp
+++ b/src/analyze.cpp
@@ -5783,8 +5783,8 @@ ConstExprValue *create_const_arg_tuple(CodeGen *g, size_t arg_index_start, size_
ConstExprValue *create_const_vals(size_t count) {
- ConstGlobalRefs *global_refs = allocate<ConstGlobalRefs>(count);
- ConstExprValue *vals = allocate<ConstExprValue>(count);
+ ConstGlobalRefs *global_refs = allocate<ConstGlobalRefs>(count, "ConstGlobalRefs");
+ ConstExprValue *vals = allocate<ConstExprValue>(count, "ConstExprValue");
for (size_t i = 0; i < count; i += 1) {
vals[i].global_refs = &global_refs[i];
}