diff options
author | Tor Lillqvist <tml@iki.fi> | 2019-07-16 14:11:09 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2019-07-16 14:11:09 +0300 |
commit | 8c146f7d6894b3a56a11054e5c2a4ddb758cee86 (patch) | |
tree | 87c98429dd19952e564ba2364f28a32b9c39298c | |
parent | 987829152557e34fbc4c7fc227fecf7ef20dac84 (diff) |
Fix build for iOS simulator
Change-Id: Ia5a71b41848d4863836dcddb33a26f3bd0a5a576
-rw-r--r-- | bridges/source/cpp_uno/gcc3_ios/cpp2uno-simulator.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bridges/source/cpp_uno/gcc3_ios/cpp2uno-simulator.cxx b/bridges/source/cpp_uno/gcc3_ios/cpp2uno-simulator.cxx index d350d0c4c3e1..b8a8b582d688 100644 --- a/bridges/source/cpp_uno/gcc3_ios/cpp2uno-simulator.cxx +++ b/bridges/source/cpp_uno/gcc3_ios/cpp2uno-simulator.cxx @@ -116,7 +116,12 @@ static typelib_TypeClass cpp2uno_call( if ( !rParam.bOut && bridges::cpp_uno::shared::isSimpleType( rParam.pTypeRef ) ) // value { // Simple types must fit exactly one register on x86_64 - assert(bFitsRegisters && ( ( nUsedSSE == 1 && nUsedGPR == 0 ) || ( nUsedSSE == 0 && nUsedGPR == 1 ) )); + +#if OSL_DEBUG_LEVEL > 0 + assert(bFitsRegisters); +#endif + + assert( ( nUsedSSE == 1 && nUsedGPR == 0 ) || ( nUsedSSE == 0 && nUsedGPR == 1 ) ); if ( nUsedSSE == 1 ) { |