Skip to content

Commit a51bfad

Browse files
committed
LLVMConstantRegister: Mark as raw by default
1 parent 586529b commit a51bfad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/engine/internal/llvm/llvmconstantregister.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ struct LLVMConstantRegister
1818
CompilerConstant(type, value),
1919
LLVMRegister(type)
2020
{
21+
isRawValue = true; // all constants can be read directly
2122
}
2223

2324
const Value &constValue() const override final { return CompilerConstant::value(); }

0 commit comments

Comments
 (0)