Browse Source

[spirv] Remove unused member variable is SpirvBasicBlock. (#1935)

Ehsan 6 years ago
parent
commit
e7e1fe9f15
1 changed files with 0 additions and 6 deletions
  1. 0 6
      tools/clang/include/clang/SPIRV/SpirvBasicBlock.h

+ 0 - 6
tools/clang/include/clang/SPIRV/SpirvBasicBlock.h

@@ -84,12 +84,6 @@ private:
   uint32_t labelId;      ///< The label's <result-id>
   std::string labelName; ///< The label's debug name
 
-  /// Variables defined in this basic block.
-  ///
-  /// Local variables inside a function should be defined at the beginning
-  /// of the entry basic block. So this field will only be used by entry
-  /// basic blocks.
-  std::vector<SpirvVariable *> variables;
   /// Instructions belonging to this basic block.
   std::vector<SpirvInstruction *> instructions;