Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Fix for #5275 Delegate Invocation On ARM Soft FP (#5362)
Browse files Browse the repository at this point in the history
  • Loading branch information
papaslavik authored and jkotas committed Jun 4, 2016
1 parent ce99897 commit ac82e4e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vm/CMakeLists.txt
Expand Up @@ -12,6 +12,10 @@ add_definitions(-DFEATURE_LEAVE_RUNTIME_HOLDER=1)
add_definitions(-DUNICODE)
add_definitions(-D_UNICODE)

if (ARM_SOFTFP)
add_definitions(-DARM_SOFTFP)
endif (ARM_SOFTFP)

if(CMAKE_CONFIGURATION_TYPES) # multi-configuration generator?
foreach (Config DEBUG CHECKED)
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:${Config}>:WRITE_BARRIER_CHECK=1>)
Expand Down
2 changes: 2 additions & 0 deletions src/vm/callingconvention.h
Expand Up @@ -1119,6 +1119,7 @@ int ArgIteratorTemplate<ARGITERATOR_BASE>::GetNextOffset()

// Ignore floating point argument placement in registers if we're dealing with a vararg function (the ABI
// specifies this so that vararg processing on the callee side is simplified).
#ifndef ARM_SOFTFP
if (fFloatingPoint && !this->IsVarArg())
{
// Handle floating point (primitive) arguments.
Expand Down Expand Up @@ -1171,6 +1172,7 @@ int ArgIteratorTemplate<ARGITERATOR_BASE>::GetNextOffset()

return argOfs;
}
#endif // ARM_SOFTFP

//
// Handle the non-floating point case.
Expand Down

0 comments on commit ac82e4e

Please sign in to comment.