]> Git Repo - qemu.git/commitdiff
Hexagon (target/hexagon) move QEMU_GENERATE to only be on during macros.h
authorTaylor Simpson <[email protected]>
Fri, 9 Apr 2021 01:07:43 +0000 (20:07 -0500)
committerRichard Henderson <[email protected]>
Sat, 1 May 2021 15:31:43 +0000 (08:31 -0700)
Suggested-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Taylor Simpson <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <1617930474[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
target/hexagon/genptr.c

index 6b74344795b3215046bc09186331ae2f94413a09..b87e264ccffcaa663eaf882c602da15dcabdb65d 100644 (file)
@@ -15,7 +15,6 @@
  *  along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#define QEMU_GENERATE
 #include "qemu/osdep.h"
 #include "qemu/log.h"
 #include "cpu.h"
@@ -24,7 +23,9 @@
 #include "insn.h"
 #include "opcodes.h"
 #include "translate.h"
+#define QEMU_GENERATE       /* Used internally by macros.h */
 #include "macros.h"
+#undef QEMU_GENERATE
 #include "gen_tcg.h"
 
 static inline TCGv gen_read_preg(TCGv pred, uint8_t num)
This page took 0.025872 seconds and 4 git commands to generate.