28 #ifndef V8_V8CHECKS_H_
29 #define V8_V8CHECKS_H_
33 void API_Fatal(
const char* location,
const char* format, ...);
37 template <
class T>
class Handle;
47 const char* unexpected_source,
49 const char* value_source,
54 const char* expected_source,
56 const char* value_source,
59 #define ASSERT_TAG_ALIGNED(address) \
60 ASSERT((reinterpret_cast<intptr_t>(address) & HeapObjectTagMask()) == 0)
62 #define ASSERT_SIZE_TAG_ALIGNED(size) ASSERT((size & HeapObjectTagMask()) == 0)
64 #endif // V8_V8CHECKS_H_
void API_Fatal(const char *location, const char *format,...)
intptr_t HeapObjectTagMask()
void CheckEqualsHelper(const char *file, int line, const char *expected_source, v8::Handle< v8::Value > expected, const char *value_source, v8::Handle< v8::Value > value)
void CheckNonEqualsHelper(const char *file, int line, const char *unexpected_source, v8::Handle< v8::Value > unexpected, const char *value_source, v8::Handle< v8::Value > value)