Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Unified Diff: src/compiler/js-inlining.cc

Issue 552313002: Fix size_t to int conversion compile error. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698