summaryrefslogtreecommitdiff
path: root/source/slang/ir-restructure-scoping.h
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2019-05-31 17:20:37 -0400
committerGitHub <noreply@github.com>2019-05-31 17:20:37 -0400
commit6cbc3929a54d37bd23cb5efa8e3320ba02f78b2f (patch)
tree5a23cb47782e9e2a77762c90dd35da1005eba8d0 /source/slang/ir-restructure-scoping.h
parentb81ff3ef968d1cc4e954b31a1812b3c391d17b02 (diff)
Use slang- prefix on slang compiler and core source (#973)
* Prefixing source files in source/slang with slang- * Prefix source in source/slang with slang- prefix. * Rename core source files with slang- prefix. * Update project files. * Fix problems from automatic merge.
Diffstat (limited to 'source/slang/ir-restructure-scoping.h')
-rw-r--r--source/slang/ir-restructure-scoping.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/source/slang/ir-restructure-scoping.h b/source/slang/ir-restructure-scoping.h
deleted file mode 100644
index 7840dda80..000000000
--- a/source/slang/ir-restructure-scoping.h
+++ /dev/null
@@ -1,24 +0,0 @@
-// ir-restructure-scoping.h
-#pragma once
-
-namespace Slang
-{
-
-class RegionTree;
-
-/// Fix cases where a value might be used in a non-nested region.
-///
-/// There can be cases where an IR value V in block A is used in
-/// some block B, where A dominates B, *but* when we constructed
-/// the region tree, the block B is not in a child/descendent
-/// region of A's region, so that it won't be visible through the
-/// scoping rules of a target language.
-///
-/// This function detects such cases, and fixes them up by inserting
-/// new temporaries into the IR code so that values that need
-/// to survive across blocks are communicated through variables
-/// declared at a sufficiently broad scope.
-///
-void fixValueScoping(RegionTree* regionTree);
-
-}