28 #ifndef V8_EXTENSIONS_GC_EXTENSION_H_
29 #define V8_EXTENSIONS_GC_EXTENSION_H_
40 BuildSource(buffer_, sizeof(buffer_), fun_name)) {}
47 static const char* BuildSource(
char* buf,
size_t size,
const char* fun_name) {
49 "native function %s();", fun_name);
58 #endif // V8_EXTENSIONS_GC_EXTENSION_H_
GCExtension(const char *fun_name)
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object size
const char * name() const
virtual v8::Handle< v8::FunctionTemplate > GetNativeFunctionTemplate(v8::Isolate *isolate, v8::Handle< v8::String > name)
static int SNPrintF(Vector< char > str, const char *format,...)
static void GC(const v8::FunctionCallbackInfo< v8::Value > &args)