Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index 2fada33e8b0c0a1152d5d4410a9c6dfe1a783e55..5631e6983093fd464a0124cf25f6fe0c3763c2e4 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -120,7 +120,7 @@ JSGenericLowering::JSGenericLowering(CompilationInfo* info, JSGraph* jsgraph, |
machine_(machine) {} |
-void JSGenericLowering::PatchOperator(Node* node, Operator* op) { |
+void JSGenericLowering::PatchOperator(Node* node, const Operator* op) { |
node->set_op(op); |
} |