|
v8
9.0.257(node16.0.0)
V8 is Google's open source JavaScript engine
|
Go to the documentation of this file.
5 #ifndef INCLUDE_CPPGC_INTERNAL_LOGGING_H_
6 #define INCLUDE_CPPGC_INTERNAL_LOGGING_H_
8 #include "cppgc/source-location.h"
24 #define CPPGC_DCHECK_MSG(condition, message)
26 if (V8_UNLIKELY(!(condition))) {
27 ::cppgc::internal::DCheckImpl(message);
31 #define CPPGC_DCHECK_MSG(condition, message)
32 (static_cast<void>(::cppgc::internal::EatParams<decltype(
33 static_cast<void>(condition), message)>{}))
38 #define CPPGC_CHECK_MSG(condition, message)
41 ::cppgc::internal::FatalImpl(message);
#define V8_UNLIKELY(condition)
void V8_EXPORT FatalImpl(const char *, const SourceLocation &=SourceLocation::Current())
#define CPPGC_DCHECK_MSG(condition, message)
static constexpr SourceLocation Current()
void V8_EXPORT DCheckImpl(const char *, const SourceLocation &=SourceLocation::Current())
#define CPPGC_CHECK_MSG(condition, message)