v8  3.11.10(node0.8.26)
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

void API_Fatal (const char *location, const char *format,...)
 
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 62 of file v8checks.h.

Referenced by Code::SizeFor().

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

Definition at line 59 of file v8checks.h.

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

Function Documentation

void API_Fatal ( const char *  location,
const char *  format,
  ... 
)

Definition at line 92 of file checks.cc.

References OS::Abort(), OS::PrintError(), and OS::VPrintError().

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 62 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 78 of file checks.cc.

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