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
checks.cc File Reference
#include <stdarg.h>
#include "v8.h"
#include "platform.h"
Include dependency graph for checks.cc:

Go to the source code of this file.

Namespaces

 v8
 
 v8::internal
 

Functions

void V8_Fatal (const char *file, int line, const char *format,...)
 
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)
 
void API_Fatal (const char *location, const char *format,...)
 
bool EnableSlowAsserts ()
 
intptr_t HeapObjectTagMask ()
 

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().

void V8_Fatal ( const char *  file,
int  line,
const char *  format,
  ... 
)

Definition at line 38 of file checks.cc.

Referenced by CheckEqualsHelper(), and CheckNonEqualsHelper().