Reviewers: Michael Starzinger,
Description:
Fix Win64 build after r24896
[email protected]
Please review this at https://codereview.chromium.org/646943007/
Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+1, -2 lines):
M src/compiler/generic-node-inl.h
Index: src/compiler/generic-node-inl.h
diff --git a/src/compiler/generic-node-inl.h
b/src/compiler/generic-node-inl.h
index
30f8f680938125e19b5dcd7d1fd95732a4000cf9..afbd1f0ebf2067eb35cb370c16a7b7f5eefe2aa5
100644
--- a/src/compiler/generic-node-inl.h
+++ b/src/compiler/generic-node-inl.h
@@ -236,8 +236,7 @@ template <class B, class S>
S* GenericNode<B, S>::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<int>(node_size + inputs_size + uses_size);
--
--
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.