Index: test/unittests/compiler/js-create-lowering-unittest.cc |
diff --git a/test/unittests/compiler/js-create-lowering-unittest.cc b/test/unittests/compiler/js-create-lowering-unittest.cc |
index 4f9e1c69693e9b2234168336ff6ccaf9c124c178..56516c9ed0a3dcc7fcd546aa02ec9e1544f26570 100644 |
--- a/test/unittests/compiler/js-create-lowering-unittest.cc |
+++ b/test/unittests/compiler/js-create-lowering-unittest.cc |
@@ -140,6 +140,7 @@ TEST_F(JSCreateLoweringTest, JSCreateArgumentsInlinedRestArray) { |
// JSCreateClosure |
TEST_F(JSCreateLoweringTest, JSCreateClosureViaInlinedAllocation) { |
+ if (!FLAG_turbo_lower_create_closure) return; |
Node* const context = UndefinedConstant(); |
Node* const effect = graph()->start(); |
Node* const control = graph()->start(); |