Reviewers: ,

Message:
Committed patchset #1 (id:1) manually as 23805 (tree was closed).

Description:
Fix size_t to int conversion compile error.

BUG=

[email protected]

Committed: https://code.google.com/p/v8/source/detail?r=23805

Please review this at https://codereview.chromium.org/552313002/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+2, -2 lines):
  M src/compiler/js-inlining.cc


Index: src/compiler/js-inlining.cc
diff --git a/src/compiler/js-inlining.cc b/src/compiler/js-inlining.cc
index 2936be49b3d0bd8b7ced8434f43eb2ad5db7d404..daee92b87a0931e84fb97494614c393d75f527c7 100644
--- a/src/compiler/js-inlining.cc
+++ b/src/compiler/js-inlining.cc
@@ -171,8 +171,8 @@ class CopyVisitor : public NullNodeVisitor {

     // Reuse the operator in the copy. This assumes that op lives in a zone
     // that lives longer than graph()'s zone.
-    Node* copy =
- target_graph_->NewNode(original->op(), inputs.size(), &inputs.front());
+    Node* copy = target_graph_->NewNode(
+        original->op(), static_cast<int>(inputs.size()), &inputs.front());
     copies_[original->id()] = copy;
     return GenericGraphVisit::CONTINUE;
   }


--
--
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