aboutsummaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-10 12:27:33 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-10 12:27:33 +0000
commitbf6247fb7639bc3492e769791f6569d65860029b (patch)
tree2f52acf52fb9a4c960ccf33d67f52fb75856af5f /tcg
parentc5adf6a88da108289f594364e82413b794cdd562 (diff)
downloadqemu-arm-bf6247fb7639bc3492e769791f6569d65860029b.tar.gz
Rename CONFIG_NO_DYNGEN_OP to CONFIG_DYNGEN_OP to avoid double negatives
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4412 c046a42c-6fe2-441c-8c8c-71466251a162
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