v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
d8-test.cc File Reference
Include dependency graph for d8-test.cc:

Go to the source code of this file.

Namespaces

namespace  v8
 

Macros

#define CHECK_SELF_OR_THROW_FAST_OPTIONS(return_value)
 
#define CHECK_SELF_OR_THROW_FAST(return_value)
 
#define CHECK_SELF_OR_THROW_SLOW()
 

Functions

void v8::CreateFastCAPIObject (const FunctionCallbackInfo< Value > &info)
 
void v8::CreateLeafInterfaceObject (const FunctionCallbackInfo< Value > &info)
 

Macro Definition Documentation

◆ CHECK_SELF_OR_THROW_FAST

#define CHECK_SELF_OR_THROW_FAST ( return_value)
Value:
if (!self) { \
receiver->GetIsolate()->ThrowError( \
"This method is not defined on objects inheriting from FastCAPI."); \
return return_value; \
}
TNode< Object > receiver

Definition at line 27 of file d8-test.cc.

◆ CHECK_SELF_OR_THROW_FAST_OPTIONS

#define CHECK_SELF_OR_THROW_FAST_OPTIONS ( return_value)
Value:
if (!self) { \
HandleScope handle_scope(options.isolate); \
options.isolate->ThrowError( \
"This method is not defined on objects inheriting from FastCAPI."); \
return return_value; \
}

Definition at line 19 of file d8-test.cc.

◆ CHECK_SELF_OR_THROW_SLOW

#define CHECK_SELF_OR_THROW_SLOW ( )
Value:
if (!self) { \
info.GetIsolate()->ThrowError( \
"This method is not defined on objects inheriting from FastCAPI."); \
return; \
}

Definition at line 34 of file d8-test.cc.