Index: src/compiler/js-generic-lowering.h |
diff --git a/src/compiler/js-generic-lowering.h b/src/compiler/js-generic-lowering.h |
index 38ee431f15b94957c5a38c6426c7e4fd4ef6f1a1..fac09cc8c5b0bcdd094ff256b992f72ec4a51bf3 100644 |
--- a/src/compiler/js-generic-lowering.h |
+++ b/src/compiler/js-generic-lowering.h |
@@ -36,8 +36,10 @@ class JSGenericLowering final : public Reducer { |
#undef DECLARE_LOWER |
// Helpers to replace existing nodes with a generic call. |
- void ReplaceWithStubCall(Node* node, Callable c, CallDescriptor::Flags flags); |
- void ReplaceWithStubCall(Node* node, Callable c, CallDescriptor::Flags flags, |
+ void ReplaceWithStubCall(Node* node, const Callable& c, |
+ CallDescriptor::Flags flags); |
+ void ReplaceWithStubCall(Node* node, const Callable& c, |
+ CallDescriptor::Flags flags, |
Operator::Properties properties); |
void ReplaceWithRuntimeCall(Node* node, Runtime::FunctionId f, int args = -1); |