summaryrefslogtreecommitdiff
path: root/src/jit
diff options
context:
space:
mode:
Diffstat (limited to 'src/jit')
-rw-r--r--src/jit/codegencommon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/codegencommon.cpp b/src/jit/codegencommon.cpp
index ea3cce6cc8..8b0e05d637 100644
--- a/src/jit/codegencommon.cpp
+++ b/src/jit/codegencommon.cpp
@@ -11046,7 +11046,7 @@ var_types Compiler::GetHfaType(GenTreePtr tree)
unsigned Compiler::GetHfaSlots(GenTreePtr tree)
{
- return GetHfaSlots(GetHfaClassHandle(tree));
+ return GetHfaSlots(GetStructClassHandle(tree));
}
var_types Compiler::GetHfaType(CORINFO_CLASS_HANDLE hClass)