summaryrefslogtreecommitdiffstats
path: root/JavaScriptCore/docs
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-03 18:28:41 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-03 18:28:41 -0800
commit648161bb0edfc3d43db63caed5cc5213bc6cb78f (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /JavaScriptCore/docs
parenta65af38181ac7d34544586bdb5cd004de93897ad (diff)
downloadexternal_webkit-648161bb0edfc3d43db63caed5cc5213bc6cb78f.zip
external_webkit-648161bb0edfc3d43db63caed5cc5213bc6cb78f.tar.gz
external_webkit-648161bb0edfc3d43db63caed5cc5213bc6cb78f.tar.bz2
auto import from //depot/cupcake/@135843
Diffstat (limited to 'JavaScriptCore/docs')
-rwxr-xr-xJavaScriptCore/docs/make-bytecode-docs.pl42
1 files changed, 0 insertions, 42 deletions
diff --git a/JavaScriptCore/docs/make-bytecode-docs.pl b/JavaScriptCore/docs/make-bytecode-docs.pl
deleted file mode 100755
index 0be22eb..0000000
--- a/JavaScriptCore/docs/make-bytecode-docs.pl
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-
-open MACHINE, "<" . $ARGV[0];
-open OUTPUT, ">" . $ARGV[1];
-
-my @undocumented = ();
-
-print OUTPUT "<style>p code \{ font-size: 14px; \}</style>\n";
-
-while (<MACHINE>) {
- if (/^ *BEGIN_OPCODE/) {
- chomp;
- s/^ *BEGIN_OPCODE\(op_//;
- s/\).*$//;
- my $opcode = $_;
- $_ = <MACHINE>;
- chomp;
- if (m|/\* |) {
- my $format = $_;
- $format =~ s|.* /\* ||;
- my $doc = "";
- while (<MACHINE>) {
- if (m|\*/|) {
- last;
- }
- $doc .= $_ . " ";
- }
-
- print OUTPUT "<h2><code>${opcode}</code></h2>\n<p><b>Format: </b><code>\n${format}\n</code></p>\n<p>\n${doc}\n</p>\n";
- } else {
- push @undocumented, $opcode;
- }
- }
-}
-
-close OUTPUT;
-
-for my $undoc (@undocumented) {
- print "UNDOCUMENTED: ${undoc}\n";
-}