summaryrefslogtreecommitdiffstats
path: root/source/slang/ir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/ir.cpp')
-rw-r--r--source/slang/ir.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/source/slang/ir.cpp b/source/slang/ir.cpp
index f05aeabf6..6e14edc1f 100644
--- a/source/slang/ir.cpp
+++ b/source/slang/ir.cpp
@@ -3,6 +3,8 @@
#include "ir-insts.h"
#include "../core/basic.h"
+#include "../core/slang-cpu-defines.h"
+
#include "mangle.h"
namespace Slang
@@ -2570,8 +2572,7 @@ namespace Slang
IRDumpContext* context,
UInt val)
{
- context->builder->append(val);
-
+ context->builder->append(UnambigousUInt(val));
// fprintf(context->file, "%llu", (unsigned long long)val);
}
@@ -2771,10 +2772,6 @@ namespace Slang
IRDumpContext* context,
IRType* type);
- static void dumpDeclRef(
- IRDumpContext* context,
- DeclRef<Decl> const& declRef);
-
static void dumpOperand(
IRDumpContext* context,
IRInst* inst)