diff options
| author | Felix Queißner <git@mq32.de> | 2019-10-22 20:29:25 +0200 |
|---|---|---|
| committer | Felix Queißner <git@mq32.de> | 2019-10-22 20:29:25 +0200 |
| commit | 03f1ad5007fd747bf386058222f9dfb9a925ef02 (patch) | |
| tree | 15add24f509ca3c5b2efc08d62419858f2d79c4c /src/analyze.cpp | |
| parent | 5456eb11078a630afc21d52ebb515ac753764a84 (diff) | |
| parent | e839250c5156d438f76e7b08e7053e9087fae77c (diff) | |
| download | zig-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.cpp | 4 |
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]; } |
