diff options
| author | Yong He <yonghe@outlook.com> | 2020-11-06 10:31:15 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-06 10:31:15 -0800 |
| commit | c1e0a9d783edf0f19b281e051a42f801850b1488 (patch) | |
| tree | c23354adbb712c2d61d88ad58e0a1925a2802bea | |
| parent | 444ff4d8fdeb721b94a9424d03c162f43fb217c9 (diff) | |
Fix comments. "white-list" -> "allow-list". (#1597)
| -rw-r--r-- | source/slang/slang-ir-dce.cpp | 2 | ||||
| -rw-r--r-- | source/slang/slang-ir-specialize.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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. // |
