* optabs.c (expand_memory_blockage): Use targetm.gen_memory_blockage.
authorUros Bizjak <uros@gcc.gnu.org>
Sat, 14 Oct 2017 10:46:20 +0000 (12:46 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Sat, 14 Oct 2017 10:46:20 +0000 (12:46 +0200)
From-SVN: r253752

gcc/optabs.c

index 46df49abb1041c8200d9c386e917f46b9c1c6975..5369c18cbaf48c8c212593a9cef876cb3a3722e4 100644 (file)
@@ -6298,7 +6298,7 @@ static void
 expand_memory_blockage (void)
 {
   if (targetm.have_memory_blockage)
-    emit_insn (gen_memory_blockage ());
+    emit_insn (targetm.gen_memory_blockage ());
   else
     expand_asm_memory_blockage ();
 }