summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/DerivedSources.make
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/DerivedSources.make')
-rw-r--r--Source/JavaScriptCore/DerivedSources.make6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/JavaScriptCore/DerivedSources.make b/Source/JavaScriptCore/DerivedSources.make
index fb60d30ca..b0b637e88 100644
--- a/Source/JavaScriptCore/DerivedSources.make
+++ b/Source/JavaScriptCore/DerivedSources.make
@@ -59,6 +59,7 @@ all : \
StringConstructor.lut.h \
StringPrototype.lut.h \
docs/bytecode.html \
+ udis86_itab.h \
#
# lookup tables for classes
@@ -79,6 +80,11 @@ RegExpJitTables.h: create_regex_tables
KeywordLookup.h: KeywordLookupGenerator.py Keywords.table
python $^ > $@
+# udis86 instruction tables
+
+udis86_itab.h: $(JavaScriptCore)/disassembler/udis86/itab.py $(JavaScriptCore)/disassembler/udis86/optable.xml
+ (PYTHONPATH=$(JavaScriptCore)/disassembler/udis86 python $(JavaScriptCore)/disassembler/udis86/itab.py $(JavaScriptCore)/disassembler/udis86/optable.xml || exit 1)
+
# header detection
ifeq ($(OS),MACOS)