X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/4be4e30906bcb8ee30b4d189205cb70bad6707ce..81345200c95645a1b0d2635520f96ad55dfde63f:/docs/make-bytecode-docs.pl
diff --git a/docs/make-bytecode-docs.pl b/docs/make-bytecode-docs.pl
deleted file mode 100755
index 5a95195..0000000
--- a/docs/make-bytecode-docs.pl
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-
-open MACHINE, "<" . $ARGV[0];
-open OUTPUT, ">" . $ARGV[1];
-
-my @undocumented = ();
-
-print OUTPUT "\n";
-print OUTPUT "\n";
-
-while () {
- if (/^ *DEFINE_OPCODE/) {
- chomp;
- s/^ *DEFINE_OPCODE\(op_//;
- s/\).*$//;
- my $opcode = $_;
- $_ = ;
- chomp;
- if (m|/\* |) {
- my $format = $_;
- $format =~ s|.* /\* ||;
- my $doc = "";
- while () {
- if (m|\*/|) {
- last;
- }
- $doc .= $_ . " ";
- }
-
- print OUTPUT "${opcode}
\nFormat: \n${format}\n
\n\n${doc}\n
\n";
- } else {
- push @undocumented, $opcode;
- }
- }
-}
-
-close OUTPUT;
-
-for my $undoc (@undocumented) {
- print "UNDOCUMENTED: ${undoc}\n";
-}