DbCheckPostLower.h 627 B

123456789101112131415161718192021
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. #pragma once
  6. #if DBG
  7. class DbCheckPostLower
  8. {
  9. private:
  10. Func *func;
  11. void Check(IR::Opnd *opnd);
  12. void Check(IR::RegOpnd *regOpnd);
  13. public:
  14. DbCheckPostLower(Func *func) : func(func) { }
  15. void Check();
  16. };
  17. #endif // DBG