From 43de99dee568e8768accd25afd100be1356d288f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20=C5=9Aliwak?= Date: Mon, 26 Apr 2021 22:35:16 +0200 Subject: [PATCH] Use 'optimizationPreset: none' for objectCompiler tests that rely on things that could get optimized out --- test/libyul/objectCompiler/function_series.yul | 2 ++ test/libyul/objectCompiler/jump_tags.yul | 2 ++ 2 files changed, 4 insertions(+) diff --git a/test/libyul/objectCompiler/function_series.yul b/test/libyul/objectCompiler/function_series.yul index 34c66ec46..9efcf77af 100644 --- a/test/libyul/objectCompiler/function_series.yul +++ b/test/libyul/objectCompiler/function_series.yul @@ -6,6 +6,8 @@ object "Contract" { } } +// ==== +// optimizationPreset: none // ---- // Assembly: // /* "source":33:48 */ diff --git a/test/libyul/objectCompiler/jump_tags.yul b/test/libyul/objectCompiler/jump_tags.yul index 22c8b2495..bd3920900 100644 --- a/test/libyul/objectCompiler/jump_tags.yul +++ b/test/libyul/objectCompiler/jump_tags.yul @@ -6,6 +6,8 @@ object "Contract" { } } +// ==== +// optimizationPreset: none // ---- // Assembly: // /* "source":33:54 */