summaryrefslogtreecommitdiff
path: root/deps/v8/src/arguments.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/arguments.cc')
-rw-r--r--deps/v8/src/arguments.cc18
1 files changed, 8 insertions, 10 deletions
diff --git a/deps/v8/src/arguments.cc b/deps/v8/src/arguments.cc
index a783357896..077991bbee 100644
--- a/deps/v8/src/arguments.cc
+++ b/deps/v8/src/arguments.cc
@@ -70,16 +70,14 @@ v8::Local<v8::Value> FunctionCallbackArguments::Call(FunctionCallback f) {
}
-#define WRITE_CALL_2_VOID(Function, ReturnValue, Arg1, Arg2) \
-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); \
-}
+#define WRITE_CALL_2_VOID(Function, ReturnValue, Arg1, Arg2) \
+ 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); \
+ }
FOR_EACH_CALLBACK_TABLE_MAPPING_0(WRITE_CALL_0)