Index: src/compiler/node.h |
diff --git a/src/compiler/node.h b/src/compiler/node.h |
index 2c4c5d31d2f751bad0edeb4cee7a9bc1e3e057a7..73787f0ff6775bac934168cb4cee59a3c11b7f74 100644 |
--- a/src/compiler/node.h |
+++ b/src/compiler/node.h |
@@ -82,7 +82,7 @@ typedef Node::Inputs::iterator InputIter; |
// Helper to extract parameters from Operator1<*> nodes. |
template <typename T> |
-static inline T OpParameter(const Node* node) { |
+static inline const T& OpParameter(const Node* node) { |
return OpParameter<T>(node->op()); |
} |