V8 Project
arguments.cc File Reference
#include "src/v8.h"
#include "src/arguments.h"
#include "src/vm-state-inl.h"
+ Include dependency graph for arguments.cc:

Go to the source code of this file.

Namespaces

 v8
 Debugger support for the V8 JavaScript engine.
 
 v8::internal
 

Macros

#define WRITE_CALL_0(Function, ReturnValue)
 
#define WRITE_CALL_1(Function, ReturnValue, Arg1)
 
#define WRITE_CALL_2(Function, ReturnValue, Arg1, Arg2)
 
#define WRITE_CALL_2_VOID(Function, ReturnValue, Arg1, Arg2)
 

Functions

double v8::internal::ClobberDoubleRegisters (double x1, double x2, double x3, double x4)
 

Macro Definition Documentation

◆ WRITE_CALL_0

#define WRITE_CALL_0 (   Function,
  ReturnValue 
)
Value:
v8::Handle<ReturnValue> PropertyCallbackArguments::Call(Function f) { \
Isolate* isolate = this->isolate(); \
VMState<EXTERNAL> state(isolate); \
ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f)); \
PropertyCallbackInfo<ReturnValue> info(begin()); \
f(info); \
return GetReturnValue<ReturnValue>(isolate); \
}
An object reference managed by the v8 garbage collector.
Definition: v8.h:198
#define FUNCTION_ADDR(f)
Definition: globals.h:195

Definition at line 38 of file arguments.cc.

◆ WRITE_CALL_1

#define WRITE_CALL_1 (   Function,
  ReturnValue,
  Arg1 
)
Value:
v8::Handle<ReturnValue> PropertyCallbackArguments::Call(Function f, \
Arg1 arg1) { \
Isolate* isolate = this->isolate(); \
VMState<EXTERNAL> state(isolate); \
ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f)); \
PropertyCallbackInfo<ReturnValue> info(begin()); \
f(arg1, info); \
return GetReturnValue<ReturnValue>(isolate); \
}

Definition at line 49 of file arguments.cc.

◆ WRITE_CALL_2

#define WRITE_CALL_2 (   Function,
  ReturnValue,
  Arg1,
  Arg2 
)
Value:
v8::Handle<ReturnValue> PropertyCallbackArguments::Call(Function f, \
Arg1 arg1, \
Arg2 arg2) { \
Isolate* isolate = this->isolate(); \
VMState<EXTERNAL> state(isolate); \
ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f)); \
PropertyCallbackInfo<ReturnValue> info(begin()); \
f(arg1, arg2, info); \
return GetReturnValue<ReturnValue>(isolate); \
}

Definition at line 61 of file arguments.cc.

◆ WRITE_CALL_2_VOID

#define WRITE_CALL_2_VOID (   Function,
  ReturnValue,
  Arg1,
  Arg2 
)
Value:
void PropertyCallbackArguments::Call(Function f, \
Arg1 arg1, \
Arg2 arg2) { \
Isolate* isolate = this->isolate(); \
VMState<EXTERNAL> state(isolate); \
ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f)); \
PropertyCallbackInfo<ReturnValue> info(begin()); \
f(arg1, arg2, info); \
}

Definition at line 74 of file arguments.cc.