From f2d467d84d22670aad728937427eff4422cf2191 Mon Sep 17 00:00:00 2001 From: "rginda%netscape.com" Date: Fri, 28 Apr 2000 02:26:14 +0000 Subject: [PATCH] moved comment so it made more sense git-svn-id: svn://10.0.0.236/trunk@67456 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/js/js2/tools/gencode.pl | 7 ++++--- mozilla/js2/tools/gencode.pl | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/mozilla/js/js2/tools/gencode.pl b/mozilla/js/js2/tools/gencode.pl index 1ae0ba49ca8..3484cbfef34 100644 --- a/mozilla/js/js2/tools/gencode.pl +++ b/mozilla/js/js2/tools/gencode.pl @@ -7,8 +7,6 @@ my $class_decs = ""; my @name_array; my $opcode_maxlen = 0; -# -# template definitions for compare, arithmetic, and conditional branch ops # # fields are: # @@ -20,7 +18,7 @@ my $opcode_maxlen = 0; # * params: The parameter list expected by the constructor, you can specify a # default value, using the syntax, [ ("Type = default") ]. # -# class namea will be generated based on the opcode mnemonic. See the +# class names will be generated based on the opcode mnemonic. See the # subroutine get_classname for the implementation. Basically underscores will # be removes and the class name will be WordCapped, using the positions where the # underscores were as word boundries. The only exception occurs when a word is @@ -28,6 +26,9 @@ my $opcode_maxlen = 0; # as in BRANCH_GT -> BranchGT. # +# +# template definitions for compare, arithmetic, and conditional branch ops +# my $compare_op = { super => "Compare", diff --git a/mozilla/js2/tools/gencode.pl b/mozilla/js2/tools/gencode.pl index 1ae0ba49ca8..3484cbfef34 100644 --- a/mozilla/js2/tools/gencode.pl +++ b/mozilla/js2/tools/gencode.pl @@ -7,8 +7,6 @@ my $class_decs = ""; my @name_array; my $opcode_maxlen = 0; -# -# template definitions for compare, arithmetic, and conditional branch ops # # fields are: # @@ -20,7 +18,7 @@ my $opcode_maxlen = 0; # * params: The parameter list expected by the constructor, you can specify a # default value, using the syntax, [ ("Type = default") ]. # -# class namea will be generated based on the opcode mnemonic. See the +# class names will be generated based on the opcode mnemonic. See the # subroutine get_classname for the implementation. Basically underscores will # be removes and the class name will be WordCapped, using the positions where the # underscores were as word boundries. The only exception occurs when a word is @@ -28,6 +26,9 @@ my $opcode_maxlen = 0; # as in BRANCH_GT -> BranchGT. # +# +# template definitions for compare, arithmetic, and conditional branch ops +# my $compare_op = { super => "Compare",