28 #ifndef V8_APIUTILS_H_
29 #define V8_APIUTILS_H_
35 return that->name_count_;
49 implicit_args[v8::Arguments::kDataIndex] = data;
50 implicit_args[v8::Arguments::kCalleeIndex] = callee;
51 implicit_args[v8::Arguments::kHolderIndex] = holder;
52 implicit_args[v8::Arguments::kIsolateIndex] =
58 bool is_construct_call) {
59 ASSERT(implicit_args[v8::Arguments::kCalleeIndex]->IsJSFunction());
60 ASSERT(implicit_args[v8::Arguments::kHolderIndex]->IsHeapObject());
62 ASSERT(implicit_args[v8::Arguments::kIsolateIndex]->IsSmi());
64 return v8::Arguments(implicit_args, argv, argc, is_construct_call);
78 #endif // V8_APIUTILS_H_
static void PrepareArgumentsData(internal::Object **implicit_args, internal::Isolate *isolate, internal::Object *data, internal::JSFunction *callee, internal::Object *holder)
static const char ** GetNames(ExtensionConfiguration *that)
v8::HandleScope::Data HandleScopeData
#define ASSERT(condition)
static v8::Arguments NewArguments(internal::Object **implicit_args, internal::Object **argv, int argc, bool is_construct_call)
static int GetNameCount(ExtensionConfiguration *that)