Move JIT infrastructure into it's own directory
authorLars Knoll <lars.knoll@digia.com>
Mon, 10 Feb 2014 14:46:28 +0000 (15:46 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 22 Feb 2014 17:47:14 +0000 (18:47 +0100)
This is a starting point to clean up some of the
code base for the JIT.

Change-Id: I388ce8df7d4ab87095e227cf36643f4be2594b7d
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/compiler/compiler.pri
src/qml/jit/jit.pri [new file with mode: 0644]
src/qml/jit/qv4isel_masm.cpp [moved from src/qml/compiler/qv4isel_masm.cpp with 100% similarity]
src/qml/jit/qv4isel_masm_p.h [moved from src/qml/compiler/qv4isel_masm_p.h with 100% similarity]
src/qml/jit/qv4regalloc.cpp [moved from src/qml/compiler/qv4regalloc.cpp with 100% similarity]
src/qml/jit/qv4regalloc_p.h [moved from src/qml/compiler/qv4regalloc_p.h with 100% similarity]
src/qml/qml.pro

index b2569f9..24379ca 100644 (file)
@@ -1,5 +1,3 @@
-include(../../3rdparty/masm/masm-defs.pri)
-
 INCLUDEPATH += $$PWD
 INCLUDEPATH += $$OUT_PWD
 
@@ -13,9 +11,7 @@ HEADERS += \
     $$PWD/qv4isel_moth_p.h \
     $$PWD/qv4isel_util_p.h \
     $$PWD/qv4ssa_p.h \
-    $$PWD/qv4regalloc_p.h \
     $$PWD/qqmlcodegenerator_p.h \
-    $$PWD/qv4isel_masm_p.h \
     $$PWD/qqmltypecompiler_p.h
 
 SOURCES += \
@@ -27,9 +23,5 @@ SOURCES += \
     $$PWD/qv4isel_p.cpp \
     $$PWD/qv4jsir.cpp \
     $$PWD/qv4ssa.cpp \
-    $$PWD/qv4regalloc.cpp \
     $$PWD/qqmlcodegenerator.cpp \
-    $$PWD/qv4isel_masm.cpp \
     $$PWD/qqmltypecompiler.cpp
-
-include(../../3rdparty/masm/masm.pri)
diff --git a/src/qml/jit/jit.pri b/src/qml/jit/jit.pri
new file mode 100644 (file)
index 0000000..cf44479
--- /dev/null
@@ -0,0 +1,14 @@
+include(../../3rdparty/masm/masm-defs.pri)
+
+INCLUDEPATH += $$PWD
+INCLUDEPATH += $$OUT_PWD
+
+HEADERS += \
+    $$PWD/qv4regalloc_p.h \
+    $$PWD/qv4isel_masm_p.h \
+
+SOURCES += \
+    $$PWD/qv4regalloc.cpp \
+    $$PWD/qv4isel_masm.cpp \
+
+include(../../3rdparty/masm/masm.pri)
index 79e83a1..17d35f8 100644 (file)
@@ -34,6 +34,7 @@ include(util/util.pri)
 include(parser/parser.pri)
 include(compiler/compiler.pri)
 include(jsapi/jsapi.pri)
+include(jit/jit.pri)
 include(jsruntime/jsruntime.pri)
 include(qml/qml.pri)
 include(debugger/debugger.pri)