28 #ifndef V8_V8CHECKS_H_
29 #define V8_V8CHECKS_H_
35 template <
class T>
class Handle;
45 const char* unexpected_source,
47 const char* value_source,
52 const char* expected_source,
54 const char* value_source,
57 #define ASSERT_TAG_ALIGNED(address) \
58 ASSERT((reinterpret_cast<intptr_t>(address) & HeapObjectTagMask()) == 0)
60 #define ASSERT_SIZE_TAG_ALIGNED(size) ASSERT((size & HeapObjectTagMask()) == 0)
62 #endif // V8_V8CHECKS_H_
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)