From 4393ee923284f93d598b924529962e6e4a6da728 Mon Sep 17 00:00:00 2001 From: "danno@chromium.org" Date: Mon, 27 Oct 2014 10:29:52 +0000 Subject: [PATCH] Fix Win64 build after r24896 TBR=mstarzinger@chromium.org Review URL: https://codereview.chromium.org/646943007 Cr-Commit-Position: refs/heads/master@{#24898} git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24898 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/compiler/generic-node-inl.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/compiler/generic-node-inl.h b/src/compiler/generic-node-inl.h index 30f8f68..afbd1f0 100644 --- a/src/compiler/generic-node-inl.h +++ b/src/compiler/generic-node-inl.h @@ -236,8 +236,7 @@ template S* GenericNode::New(GenericGraphBase* graph, int input_count, S** inputs, bool has_extensible_inputs) { size_t node_size = sizeof(GenericNode); - size_t reserve_input_count = - has_extensible_inputs ? kDefaultReservedInputs : 0; + int reserve_input_count = has_extensible_inputs ? kDefaultReservedInputs : 0; size_t inputs_size = (input_count + reserve_input_count) * sizeof(Input); size_t uses_size = input_count * sizeof(Use); int size = static_cast(node_size + inputs_size + uses_size); -- 2.7.4