Skip to content

Commit e3e50ea

Browse files
committed
Fix compile error in coreclr/runtime/amd64/AllocFast.S
on illumos with gcc 13.3 cross copmiler coreclr/runtime/amd64/AllocFast.S: Assembler messages: coreclr/runtime/amd64/AllocFast.S:237: Error: missing ')'
1 parent 47dcc47 commit e3e50ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/runtime/amd64/AllocFast.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ LEAF_ENTRY RhpNewPtrArrayFast, _TEXT
234234

235235
// Delegate overflow handling to the generic helper conservatively
236236

237-
cmp rsi, (0x40000000 / 8) // sizeof(void*)
237+
cmp rsi, 0x40000000 / 8 // 0x40000000 / sizeof(void*)
238238
jae C_FUNC(RhpNewArrayFast)
239239

240240
// In this case we know the element size is sizeof(void *), or 8 for x64

0 commit comments

Comments
 (0)