57 return GetReturnValue<v8::Value>(
isolate);
61 #define WRITE_CALL_0(Function, ReturnValue) \
62 v8::Handle<ReturnValue> PropertyCallbackArguments::Call(Function f) { \
63 Isolate* isolate = this->isolate(); \
64 VMState<EXTERNAL> state(isolate); \
65 ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f)); \
66 PropertyCallbackInfo<ReturnValue> info(begin()); \
68 return GetReturnValue<ReturnValue>(isolate); \
72 #define WRITE_CALL_1(Function, ReturnValue, Arg1) \
73 v8::Handle<ReturnValue> PropertyCallbackArguments::Call(Function f, \
75 Isolate* isolate = this->isolate(); \
76 VMState<EXTERNAL> state(isolate); \
77 ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f)); \
78 PropertyCallbackInfo<ReturnValue> info(begin()); \
80 return GetReturnValue<ReturnValue>(isolate); \
84 #define WRITE_CALL_2(Function, ReturnValue, Arg1, Arg2) \
85 v8::Handle<ReturnValue> PropertyCallbackArguments::Call(Function f, \
88 Isolate* isolate = this->isolate(); \
89 VMState<EXTERNAL> state(isolate); \
90 ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f)); \
91 PropertyCallbackInfo<ReturnValue> info(begin()); \
92 f(arg1, arg2, info); \
93 return GetReturnValue<ReturnValue>(isolate); \
97 #define WRITE_CALL_2_VOID(Function, ReturnValue, Arg1, Arg2) \
98 void PropertyCallbackArguments::Call(Function f, \
101 Isolate* isolate = this->isolate(); \
102 VMState<EXTERNAL> state(isolate); \
103 ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f)); \
104 PropertyCallbackInfo<ReturnValue> info(begin()); \
105 f(arg1, arg2, info); \
117 #undef WRITE_CALL_2_VOID
124 return x1 * 1.01 + x2 * 2.02 + x3 * 3.03 + x4 * 4.04;
#define FOR_EACH_CALLBACK_TABLE_MAPPING_0(F)
#define FOR_EACH_CALLBACK_TABLE_MAPPING_2_VOID_RETURN(F)
void(* FunctionCallback)(const FunctionCallbackInfo< Value > &info)
#define WRITE_CALL_0(Function, ReturnValue)
v8::Handle< V > GetReturnValue(Isolate *isolate)
#define WRITE_CALL_2(Function, ReturnValue, Arg1, Arg2)
#define WRITE_CALL_1(Function, ReturnValue, Arg1)
double ClobberDoubleRegisters(double x1, double x2, double x3, double x4)
Handle< T > handle(T *t, Isolate *isolate)
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 Array DOM strings and string pretenure call new trace pretenuring decisions of HAllocate instructions track fields with only smi values track fields with heap values track_fields track_fields Enables optimizations which favor memory size over execution speed use string slices optimization filter maximum number of GVN fix point iterations use function inlining use allocation folding eliminate write barriers targeting allocations in optimized code maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining crankshaft harvests type feedback from stub cache trace check elimination phase hydrogen tracing filter trace hydrogen to given file name trace inlining decisions trace store elimination trace all use positions trace global value numbering trace hydrogen escape analysis trace the tracking of allocation sites trace map generalization environment for every instruction deoptimize every n garbage collections put a break point before deoptimizing deoptimize uncommon cases use on stack replacement trace array bounds check elimination perform array index dehoisting use load elimination use store elimination use constant folding eliminate unreachable code number of stress runs when picking a function to watch for shared function info
v8::Handle< v8::Value > Call(FunctionCallback f)
#define WRITE_CALL_2_VOID(Function, ReturnValue, Arg1, Arg2)
#define FOR_EACH_CALLBACK_TABLE_MAPPING_1(F)
#define FOR_EACH_CALLBACK_TABLE_MAPPING_2(F)