Fix Clang compilation after r23657.

TBR=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/534743004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23658 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 7a4d916e
......@@ -347,9 +347,10 @@ class MachineNodeFactory {
// Call to C.
Node* CallC(Node* function_address, MachineType return_type,
MachineType* arg_types, Node** args, int n_args) {
Zone* zone = ZONE();
CallDescriptor* descriptor =
Linkage::GetSimplifiedCDescriptor(ZONE(), MACHINE_SIG());
Node** passed_args = ZONE()->NewArray<Node*>(n_args + 1);
Node** passed_args = zone->NewArray<Node*>(n_args + 1);
passed_args[0] = function_address;
for (int i = 0; i < n_args; ++i) {
passed_args[i + 1] = args[i];
......
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