diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-05-24 21:27:44 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-05-24 21:27:44 -0400 |
| commit | 43085417bec447ab31f3454e180213f102885cc8 (patch) | |
| tree | 63f07e0cbb7014de96cf969cf20b6f8d80af9336 /src/codegen.cpp | |
| parent | af7073b7790ad055825ea2805cfd00b69f82f2fe (diff) | |
| download | zig-43085417bec447ab31f3454e180213f102885cc8.tar.gz zig-43085417bec447ab31f3454e180213f102885cc8.zip | |
update github.com/zig-lang to github.com/ziglang
Diffstat (limited to 'src/codegen.cpp')
| -rw-r--r-- | src/codegen.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp index f1e102392a..69542b3e67 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -582,7 +582,7 @@ static LLVMValueRef fn_llvm_value(CodeGen *g, FnTableEntry *fn_table_entry) { addLLVMArgAttr(fn_table_entry->llvm_value, (unsigned)gen_index, "nonnull"); } // Note: byval is disabled on windows due to an LLVM bug: - // https://github.com/zig-lang/zig/issues/536 + // https://github.com/ziglang/zig/issues/536 if (is_byval && g->zig_target.os != OsWindows) { addLLVMArgAttr(fn_table_entry->llvm_value, (unsigned)gen_index, "byval"); } @@ -3067,7 +3067,7 @@ static LLVMValueRef ir_render_call(CodeGen *g, IrExecutable *executable, IrInstr for (size_t param_i = 0; param_i < fn_type_id->param_count; param_i += 1) { FnGenParamInfo *gen_info = &fn_type->data.fn.gen_param_info[param_i]; // Note: byval is disabled on windows due to an LLVM bug: - // https://github.com/zig-lang/zig/issues/536 + // https://github.com/ziglang/zig/issues/536 if (gen_info->is_byval && g->zig_target.os != OsWindows) { addLLVMCallsiteAttr(result, (unsigned)gen_info->gen_index, "byval"); } @@ -6730,7 +6730,7 @@ static void init(CodeGen *g) { const char *target_specific_features; if (g->is_native_target) { // LLVM creates invalid binaries on Windows sometimes. - // See https://github.com/zig-lang/zig/issues/508 + // See https://github.com/ziglang/zig/issues/508 // As a workaround we do not use target native features on Windows. if (g->zig_target.os == OsWindows) { target_specific_cpu_args = ""; |
