Index: test/cctest/compiler/graph-builder-tester.cc |
diff --git a/test/cctest/compiler/graph-builder-tester.cc b/test/cctest/compiler/graph-builder-tester.cc |
index e10c2dcf2cb07f287f0f66479deb83bc8a8d4c1f..3f66462332a027d1f4021172a324e5e6662e0282 100644 |
--- a/test/cctest/compiler/graph-builder-tester.cc |
+++ b/test/cctest/compiler/graph-builder-tester.cc |
@@ -31,6 +31,7 @@ void MachineCallHelper::InitParameters(GraphBuilder* builder, |
byte* MachineCallHelper::Generate() { |
DCHECK(parameter_count() == 0 || parameters_ != NULL); |
+ if (!Pipeline::SupportedBackend()) return NULL; |
if (code_.is_null()) { |
Zone* zone = graph_->zone(); |
CompilationInfo info(zone->isolate(), zone); |