From c1e0a9d783edf0f19b281e051a42f801850b1488 Mon Sep 17 00:00:00 2001 From: Yong He Date: Fri, 6 Nov 2020 10:31:15 -0800 Subject: Fix comments. "white-list" -> "allow-list". (#1597) --- source/slang/slang-ir-dce.cpp | 2 +- source/slang/slang-ir-specialize.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source') diff --git a/source/slang/slang-ir-dce.cpp b/source/slang/slang-ir-dce.cpp index 7c1cda75f..c8267a626 100644 --- a/source/slang/slang-ir-dce.cpp +++ b/source/slang/slang-ir-dce.cpp @@ -227,7 +227,7 @@ struct DeadCodeEliminationContext // return `true` as its default mode, so once we are past that // query we know that `inst` is either something "structural" // (that makes up the program) rather than executable, or it - // is executable but was on a white list of things that are + // is executable but was on an allow-list of things that are // safe to eliminate. // Most top-level objects (functions, types, etc.) obviously diff --git a/source/slang/slang-ir-specialize.cpp b/source/slang/slang-ir-specialize.cpp index caaa700a0..efcdb4498 100644 --- a/source/slang/slang-ir-specialize.cpp +++ b/source/slang/slang-ir-specialize.cpp @@ -398,7 +398,7 @@ struct SpecializationContext // as all of its operands are. // // TODO: We realistically need a more refined - // check here that uses a white-list of instructions + // check here that uses an allow-list of instructions // that can represent values suitable for use // as generic arguments. // -- cgit v1.2.3