From 00459509243ec2676dd25b606c2fdf2a646910e4 Mon Sep 17 00:00:00 2001 From: chriseth Date: Mon, 4 Mar 2019 14:27:52 +0100 Subject: [PATCH] State that yul optimizer is experimental. --- docs/using-the-compiler.rst | 1 + solc/CommandLineInterface.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/using-the-compiler.rst b/docs/using-the-compiler.rst index 80e34aa2a..004def964 100644 --- a/docs/using-the-compiler.rst +++ b/docs/using-the-compiler.rst @@ -211,6 +211,7 @@ Input Description "constantOptimizer": false, // The new Yul optimizer. Mostly operates on the code of ABIEncoderV2. // It can only be activated through the details here. + // This feature is still considered experimental. "yul": false, // Future tuning options, currently unused. "yulDetails": {} diff --git a/solc/CommandLineInterface.cpp b/solc/CommandLineInterface.cpp index ec7c06c93..daf1dbbd1 100644 --- a/solc/CommandLineInterface.cpp +++ b/solc/CommandLineInterface.cpp @@ -616,7 +616,7 @@ Allowed options)", "Set for how many contract runs to optimize." "Lower values will optimize more for initial deployment cost, higher values will optimize more for high-frequency usage." ) - (g_strOptimizeYul.c_str(), "Enable Yul optimizer in Solidity, mostly for ABIEncoderV2.") + (g_strOptimizeYul.c_str(), "Enable Yul optimizer in Solidity, mostly for ABIEncoderV2. Still considered experimental.") (g_argPrettyJson.c_str(), "Output JSON in pretty format. Currently it only works with the combined JSON output.") ( g_argLibraries.c_str(),