Index: test/cctest/compiler/test-codegen-deopt.cc |
diff --git a/test/cctest/compiler/test-codegen-deopt.cc b/test/cctest/compiler/test-codegen-deopt.cc |
index 243ece901080f4a76b5b701b7dd327cc98f85cb7..d7422f185b02140ab602eeffda0aa70ccc649e9f 100644 |
--- a/test/cctest/compiler/test-codegen-deopt.cc |
+++ b/test/cctest/compiler/test-codegen-deopt.cc |
@@ -25,6 +25,9 @@ |
using namespace v8::internal; |
using namespace v8::internal::compiler; |
+ |
+#if V8_TURBOFAN_TARGET |
+ |
typedef RawMachineAssembler::Label MLabel; |
static Handle<JSFunction> NewFunction(const char* source) { |
@@ -329,3 +332,5 @@ TEST(TurboTrivialRuntimeDeoptCodegenAndRun) { |
CHECK(!has_pending_exception); |
CHECK(result->SameValue(Smi::FromInt(42))); |
} |
+ |
+#endif |