Revision: 14389
Author: [email protected]
Date: Tue Apr 23 02:40:49 2013
Log: Fix clang build.
[email protected]
BUG=
Review URL: https://chromiumcodereview.appspot.com/14091011
http://code.google.com/p/v8/source/detail?r=14389
Modified:
/branches/bleeding_edge/src/arm/stub-cache-arm.cc
/branches/bleeding_edge/src/ia32/stub-cache-ia32.cc
/branches/bleeding_edge/src/x64/stub-cache-x64.cc
=======================================
--- /branches/bleeding_edge/src/arm/stub-cache-arm.cc Tue Apr 23 02:23:07
2013
+++ /branches/bleeding_edge/src/arm/stub-cache-arm.cc Tue Apr 23 02:40:49
2013
@@ -954,8 +954,9 @@
CallKind call_kind = CallICBase::Contextual::decode(extra_ic_state_)
? CALL_AS_FUNCTION
: CALL_AS_METHOD;
- Handle<JSFunction> fun = optimization.constant_function();
- __ InvokeFunction(fun, ParameterCount(fun), arguments_,
+ Handle<JSFunction> function = optimization.constant_function();
+ ParameterCount expected(function);
+ __ InvokeFunction(function, expected, arguments_,
JUMP_FUNCTION, NullCallWrapper(), call_kind);
}
@@ -2085,7 +2086,8 @@
// Tail call the full function. We do not have to patch the receiver
// because the function makes no use of it.
__ bind(&slow);
- __ InvokeFunction(function, ParameterCount(function), arguments(),
+ ParameterCount expected(function);
+ __ InvokeFunction(function, expected, arguments(),
JUMP_FUNCTION, NullCallWrapper(), CALL_AS_METHOD);
__ bind(&miss);
@@ -2196,7 +2198,8 @@
__ bind(&slow);
// Tail call the full function. We do not have to patch the receiver
// because the function makes no use of it.
- __ InvokeFunction(function, ParameterCount(function), arguments(),
+ ParameterCount expected(fun);
+ __ InvokeFunction(function, expected, arguments(),
JUMP_FUNCTION, NullCallWrapper(), CALL_AS_METHOD);
__ bind(&miss);
@@ -2295,7 +2298,8 @@
// Tail call the full function. We do not have to patch the receiver
// because the function makes no use of it.
__ bind(&slow);
- __ InvokeFunction(function, ParameterCount(function), arguments(),
+ ParameterCount expected(function);
+ __ InvokeFunction(function, expected, arguments(),
JUMP_FUNCTION, NullCallWrapper(), CALL_AS_METHOD);
__ bind(&miss);
@@ -2470,7 +2474,8 @@
CallKind call_kind = CallICBase::Contextual::decode(extra_state_)
? CALL_AS_FUNCTION
: CALL_AS_METHOD;
- __ InvokeFunction(function, ParameterCount(function), arguments(),
+ ParameterCount expected(function);
+ __ InvokeFunction(function, expected, arguments(),
JUMP_FUNCTION, NullCallWrapper(), call_kind);
}
=======================================
--- /branches/bleeding_edge/src/ia32/stub-cache-ia32.cc Tue Apr 23 02:23:07
2013
+++ /branches/bleeding_edge/src/ia32/stub-cache-ia32.cc Tue Apr 23 02:40:49
2013
@@ -635,8 +635,9 @@
CallKind call_kind = CallICBase::Contextual::decode(extra_state_)
? CALL_AS_FUNCTION
: CALL_AS_METHOD;
- Handle<JSFunction> fun = optimization.constant_function();
- __ InvokeFunction(fun, ParameterCount(fun), arguments_,
+ Handle<JSFunction> function = optimization.constant_function();
+ ParameterCount expected(function);
+ __ InvokeFunction(function, expected, arguments_,
JUMP_FUNCTION, NullCallWrapper(), call_kind);
}
@@ -2057,7 +2058,8 @@
CallKind call_kind = CallICBase::Contextual::decode(extra_state_)
? CALL_AS_FUNCTION
: CALL_AS_METHOD;
- __ InvokeFunction(function, ParameterCount(function), arguments(),
+ ParameterCount expected(function);
+ __ InvokeFunction(function, expected, arguments(),
JUMP_FUNCTION, NullCallWrapper(), call_kind);
__ bind(&miss);
@@ -2187,7 +2189,8 @@
// Tail call the full function. We do not have to patch the receiver
// because the function makes no use of it.
__ bind(&slow);
- __ InvokeFunction(function, ParameterCount(function), arguments(),
+ ParameterCount expected(function);
+ __ InvokeFunction(function, expected, arguments(),
JUMP_FUNCTION, NullCallWrapper(), CALL_AS_METHOD);
__ bind(&miss);
@@ -2292,7 +2295,8 @@
// Tail call the full function. We do not have to patch the receiver
// because the function makes no use of it.
__ bind(&slow);
- __ InvokeFunction(function, ParameterCount(function), arguments(),
+ ParameterCount expected(function);
+ __ InvokeFunction(function, expected, arguments(),
JUMP_FUNCTION, NullCallWrapper(), CALL_AS_METHOD);
__ bind(&miss);
@@ -2475,7 +2479,8 @@
CallKind call_kind = CallICBase::Contextual::decode(extra_state_)
? CALL_AS_FUNCTION
: CALL_AS_METHOD;
- __ InvokeFunction(function, ParameterCount(function), arguments(),
+ ParameterCount expected(function);
+ __ InvokeFunction(function, expected, arguments(),
JUMP_FUNCTION, NullCallWrapper(), call_kind);
}
=======================================
--- /branches/bleeding_edge/src/x64/stub-cache-x64.cc Tue Apr 23 02:23:07
2013
+++ /branches/bleeding_edge/src/x64/stub-cache-x64.cc Tue Apr 23 02:40:49
2013
@@ -1992,7 +1992,8 @@
CallKind call_kind = CallICBase::Contextual::decode(extra_state_)
? CALL_AS_FUNCTION
: CALL_AS_METHOD;
- __ InvokeFunction(function, ParameterCount(function), arguments(),
+ ParameterCount expected(function);
+ __ InvokeFunction(function, expected, arguments(),
JUMP_FUNCTION, NullCallWrapper(), call_kind);
__ bind(&miss);
@@ -2107,7 +2108,8 @@
CallKind call_kind = CallICBase::Contextual::decode(extra_state_)
? CALL_AS_FUNCTION
: CALL_AS_METHOD;
- __ InvokeFunction(function, ParameterCount(function), arguments(),
+ ParameterCount expected(function);
+ __ InvokeFunction(function, expected, arguments(),
JUMP_FUNCTION, NullCallWrapper(), call_kind);
__ bind(&miss);
@@ -2291,7 +2293,8 @@
CallKind call_kind = CallICBase::Contextual::decode(extra_state_)
? CALL_AS_FUNCTION
: CALL_AS_METHOD;
- __ InvokeFunction(function, ParameterCount(function), arguments(),
+ ParameterCount expected(function);
+ __ InvokeFunction(function, expected, arguments(),
JUMP_FUNCTION, NullCallWrapper(), call_kind);
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.