Commit cc846ab7 authored by yangguo@chromium.org's avatar yangguo@chromium.org

Fix clang build for x64.

R=ulan@chromium.org
BUG=

Review URL: https://chromiumcodereview.appspot.com/14471004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14408 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent f8ddf3a2
...@@ -623,7 +623,8 @@ class CallInterceptorCompiler BASE_EMBEDDED { ...@@ -623,7 +623,8 @@ class CallInterceptorCompiler BASE_EMBEDDED {
? CALL_AS_FUNCTION ? CALL_AS_FUNCTION
: CALL_AS_METHOD; : CALL_AS_METHOD;
Handle<JSFunction> fun = optimization.constant_function(); Handle<JSFunction> fun = optimization.constant_function();
__ InvokeFunction(fun, ParameterCount(fun), arguments_, ParameterCount expected(fun);
__ InvokeFunction(fun, expected, arguments_,
JUMP_FUNCTION, NullCallWrapper(), call_kind); JUMP_FUNCTION, NullCallWrapper(), call_kind);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment