Kaydet (Commit) df030ad2 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Bin obsolete conditional compilation

NO_FALLBACK_TO_SWINTERP has been undefined for a long time. I doubt anybody
knows any more what it means, and in what situations it might perhaps make
sense to define it. Should it be a compile-time choice anyway, in that case,
or a run-time one? What is a "TDD run"? Test-Driven Development? But we have
our unit test mechanism for that.

Change-Id: If3e21e958ebeb689a8aac8eb7393c02f7143401c
üst 25e29143
......@@ -81,8 +81,6 @@ const unsigned long __nan[2] = {0xffffffff, 0x7fffffff};
#include <boost/scoped_ptr.hpp>
#include <boost/scoped_array.hpp>
#undef NO_FALLBACK_TO_SWINTERP /* undef this for non-TDD runs */
using namespace formula;
namespace sc { namespace opencl {
......@@ -3656,12 +3654,8 @@ DynamicKernel* DynamicKernel::create( ScTokenArray& rCode, int nResultSize )
catch (const UnhandledToken& ut)
{
SAL_WARN("sc.opencl", "Dynamic formula compiler: unhandled token: " << ut.mMessage << " at " << ut.mFile << ":" << ut.mLineNumber);
#ifdef NO_FALLBACK_TO_SWINTERP
assert(false);
#else
delete pDynamicKernel;
return NULL;
#endif
}
catch (...)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment