Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index e8c345041d152beebaf5260cbbc35dc55c316b43..0e2f97c8137407175c0c3aa845ccf22ed46312ad 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -24544,8 +24544,11 @@ TEST(TurboAsmDisablesNeuter) { |
v8::V8::Initialize(); |
v8::HandleScope scope(CcTest::isolate()); |
LocalContext context; |
+#if V8_TURBOFAN_TARGET |
bool should_be_neuterable = !i::FLAG_turbo_asm; |
- |
+#else |
+ bool should_be_neuterable = true; |
+#endif |
const char* load = |
"function Module(stdlib, foreign, heap) {" |
" 'use asm';" |