summaryrefslogtreecommitdiff
path: root/src/jit/compiler.h
diff options
context:
space:
mode:
authorSergey Andreenko <seandree@microsoft.com>2019-03-07 19:43:37 -0800
committerGitHub <noreply@github.com>2019-03-07 19:43:37 -0800
commit24d05f5e6cb905da8d2bf84d0b1525586152c908 (patch)
tree7ee721daa2775e7bae876bd86b0cf0b469cb3319 /src/jit/compiler.h
parent4685a1e008ad7cf4118e8778d89e63d87ca5b7b6 (diff)
downloadcoreclr-24d05f5e6cb905da8d2bf84d0b1525586152c908.tar.gz
coreclr-24d05f5e6cb905da8d2bf84d0b1525586152c908.tar.bz2
coreclr-24d05f5e6cb905da8d2bf84d0b1525586152c908.zip
Fix a rare JitStress assert. (#23116)
* Fix undefined behaviour when we check `this==nullptr`. * Fix ifdef comment. * Fix rare jit stress assert. flowgraph.cpp: !IsUninitialized(tree) can fail if `UninitializedWord` returns a valid pointer value.
Diffstat (limited to 'src/jit/compiler.h')
-rw-r--r--src/jit/compiler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jit/compiler.h b/src/jit/compiler.h
index e39c44fed9..e390fd5e43 100644
--- a/src/jit/compiler.h
+++ b/src/jit/compiler.h
@@ -8851,8 +8851,8 @@ public:
bool compDonotInline();
#ifdef DEBUG
- unsigned char compGetJitDefaultFill(); // Get the default fill char value
- // we randomize this value when JitStress is enabled
+ // Get the default fill char value we randomize this value when JitStress is enabled.
+ static unsigned char compGetJitDefaultFill(Compiler* comp);
const char* compLocalVarName(unsigned varNum, unsigned offs);
VarName compVarName(regNumber reg, bool isFloatReg = false);