v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
v8checks.h File Reference
#include "checks.h"
Include dependency graph for v8checks.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  Handle< T >
 

Namespaces

 v8
 
 v8::internal
 

Macros

#define ASSERT_TAG_ALIGNED(address)   ASSERT((reinterpret_cast<intptr_t>(address) & HeapObjectTagMask()) == 0)
 
#define ASSERT_SIZE_TAG_ALIGNED(size)   ASSERT((size & HeapObjectTagMask()) == 0)
 

Functions

intptr_t HeapObjectTagMask ()
 
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)
 
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)
 

Macro Definition Documentation

#define ASSERT_SIZE_TAG_ALIGNED (   size)    ASSERT((size & HeapObjectTagMask()) == 0)

Definition at line 60 of file v8checks.h.

Referenced by Code::SizeFor().

#define ASSERT_TAG_ALIGNED (   address)    ASSERT((reinterpret_cast<intptr_t>(address) & HeapObjectTagMask()) == 0)

Definition at line 57 of file v8checks.h.

Referenced by HeapObject::FromAddress(), and ByteArray::FromDataStartAddress().

Function Documentation

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 
)

Definition at line 117 of file checks.cc.

References Value::Equals(), and V8_Fatal().

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 
)

Definition at line 133 of file checks.cc.

References Value::Equals(), and V8_Fatal().