aboutsummaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
Diffstat (limited to 'tcg')
-rw-r--r--tcg/tcg-dyngen.c2
-rw-r--r--tcg/tcg-op.h2
-rw-r--r--tcg/tcg-opc.h2
-rw-r--r--tcg/tcg.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/tcg/tcg-dyngen.c b/tcg/tcg-dyngen.c
index 77502af04c..8e9d2e92d8 100644
--- a/tcg/tcg-dyngen.c
+++ b/tcg/tcg-dyngen.c
@@ -464,7 +464,7 @@ static inline void ia64_apply_fixes (uint8_t **gen_code_pp,
#endif
#endif
-#ifndef CONFIG_NO_DYNGEN_OP
+#ifdef CONFIG_DYNGEN_OP
#if defined __hppa__
struct hppa_branch_stub {
diff --git a/tcg/tcg-op.h b/tcg/tcg-op.h
index 46abcf8fed..f80d0406dd 100644
--- a/tcg/tcg-op.h
+++ b/tcg/tcg-op.h
@@ -23,7 +23,7 @@
*/
#include "tcg.h"
-#ifndef CONFIG_NO_DYNGEN_OP
+#ifdef CONFIG_DYNGEN_OP
/* legacy dyngen operations */
#include "gen-op.h"
#endif
diff --git a/tcg/tcg-opc.h b/tcg/tcg-opc.h
index ee95910620..fb1a63cc98 100644
--- a/tcg/tcg-opc.h
+++ b/tcg/tcg-opc.h
@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
-#ifndef CONFIG_NO_DYNGEN_OP
+#ifdef CONFIG_DYNGEN_OP
#include "dyngen-opc.h"
#endif
diff --git a/tcg/tcg.c b/tcg/tcg.c
index 7e499beeef..c5a8dafb12 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -1780,7 +1780,7 @@ static inline int tcg_gen_code_common(TCGContext *s, uint8_t *gen_code_buf,
case INDEX_op_end:
goto the_end;
-#ifndef CONFIG_NO_DYNGEN_OP
+#ifdef CONFIG_DYNGEN_OP
case 0 ... INDEX_op_end - 1:
/* legacy dyngen ops */
#ifdef CONFIG_PROFILER