|
|
@ -20,5 +20,21 @@ std::ostream& getLogStream(char const* _channel); |
|
|
|
#define DLOG(CHANNEL) ::dev::evmjit::getLogStream(#CHANNEL) |
|
|
|
|
|
|
|
#else // Release
|
|
|
|
#define DLOG(CHANNEL) true ? std::cerr : std::cerr |
|
|
|
|
|
|
|
namespace dev |
|
|
|
{ |
|
|
|
namespace evmjit |
|
|
|
{ |
|
|
|
|
|
|
|
struct Voider |
|
|
|
{ |
|
|
|
void operator=(std::ostream const&) {} |
|
|
|
}; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#define DLOG(CHANNEL) true ? (void)0 : ::dev::evmjit::Voider{} = std::cerr |
|
|
|
|
|
|
|
#endif |
|
|
|