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

Unified Diff: src/compiler/common-operator.h

Issue 549063002: [turbofan] Fix Projection operator parameter type. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix2 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 | src/compiler/graph-unittest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/common-operator.h
diff --git a/src/compiler/common-operator.h b/src/compiler/common-operator.h
index d871fb781eb2c4d81e2af31274e1d37528037316..ebd4478e3bd8c82ca736f4891d2ac19e352ef4f6 100644
--- a/src/compiler/common-operator.h
+++ b/src/compiler/common-operator.h
@@ -114,8 +114,9 @@ class CommonOperatorBuilder {
1, "Parameter", index);
}
Operator* Int32Constant(int32_t value) {
- return new (zone_) Operator1<int>(IrOpcode::kInt32Constant, Operator::kPure,
- 0, 1, "Int32Constant", value);
+ return new (zone_)
+ Operator1<int32_t>(IrOpcode::kInt32Constant, Operator::kPure, 0, 1,
+ "Int32Constant", value);
}
Operator* Int64Constant(int64_t value) {
return new (zone_)
@@ -177,9 +178,9 @@ class CommonOperatorBuilder {
Operator* Call(CallDescriptor* descriptor) {
return new (zone_) CallOperator(descriptor, "Call");
}
- Operator* Projection(int index) {
- return new (zone_) Operator1<int>(IrOpcode::kProjection, Operator::kPure, 1,
- 1, "Projection", index);
+ Operator* Projection(size_t index) {
+ return new (zone_) Operator1<size_t>(IrOpcode::kProjection, Operator::kPure,
+ 1, 1, "Projection", index);
}
private:
« no previous file with comments | « no previous file | src/compiler/graph-unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698