Reviewers: Benedikt Meurer,

Description:
Disable code generation in tests that use GraphBuilderTester on platforms that
have no TF backend.

R=bmeu...@chromium.org
BUG=

Please review this at https://codereview.chromium.org/457343003/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+1, -0 lines):
  M test/cctest/compiler/graph-builder-tester.cc


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);


--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to