Revision: 23658
Author:   [email protected]
Date:     Wed Sep  3 13:39:37 2014 UTC
Log:      Fix Clang compilation after r23657.

[email protected]

Review URL: https://codereview.chromium.org/534743004
https://code.google.com/p/v8/source/detail?r=23658

Modified:
 /branches/bleeding_edge/src/compiler/machine-node-factory.h

=======================================
--- /branches/bleeding_edge/src/compiler/machine-node-factory.h Wed Sep 3 13:23:37 2014 UTC +++ /branches/bleeding_edge/src/compiler/machine-node-factory.h Wed Sep 3 13:39:37 2014 UTC
@@ -347,9 +347,10 @@
   // 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];

--
--
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/d/optout.

Reply via email to