Index: src/compiler/js-generic-lowering.h |
diff --git a/src/compiler/js-generic-lowering.h b/src/compiler/js-generic-lowering.h |
index c43f6732c990544a3b0145a07535c7015f8c491e..2f887048c3a5aef2891ac1aca282a20e800225b2 100644 |
--- a/src/compiler/js-generic-lowering.h |
+++ b/src/compiler/js-generic-lowering.h |
@@ -50,7 +50,7 @@ class JSGenericLowering : public Reducer { |
Node* ExternalConstant(ExternalReference ref); |
// Helpers to patch existing nodes in the graph. |
- void PatchOperator(Node* node, Operator* new_op); |
+ void PatchOperator(Node* node, const Operator* new_op); |
void PatchInsertInput(Node* node, int index, Node* input); |
// Helpers to replace existing nodes with a generic call. |