From ec2e153aa879a31a32ce7900a65b6e9ca4ac5f74 Mon Sep 17 00:00:00 2001 From: Joshua Warner Date: Sat, 31 May 2014 21:28:27 -0600 Subject: [PATCH] fixup comments in Subroutine --- src/compile.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/compile.cpp b/src/compile.cpp index c13ddf4e96..6e1353883a 100644 --- a/src/compile.cpp +++ b/src/compile.cpp @@ -774,7 +774,7 @@ class Subroutine { // Index of this subroutine, in the (unmaterialized) list of subroutines in // this method. - // Note that in the presence of nested finalls, this could theoretically end + // Note that in the presence of nested finallys, this could theoretically end // up being greater than the number of jsr instructions (but this will be // extremely rare - I don't think we've seen this in practice). const unsigned index; @@ -782,10 +782,6 @@ class Subroutine { // Subroutine outer to this one (if, for instance, we have nested finallys) Subroutine* const outer; - // How many levels deep of subroutines we're nested in. - // Note: This should always be len(outer), when treated as a list. - // const unsigned nesting; - // Starting ip in the original bytecode (always < original bytecode size) const unsigned returnAddress;