diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2003-01-18 22:15:51 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2003-01-18 22:15:51 +0000 |
commit | 634661fe5a3f091d6c4b15527ddc7cfc3e448469 (patch) | |
tree | 844d5b8a384374b2b793ce1f6da97b6f65d60189 /gcc/java/expr.c | |
parent | a1fb4e912af42cf0b6f54136575ffdb09384a4a2 (diff) | |
download | gcc-634661fe5a3f091d6c4b15527ddc7cfc3e448469.zip gcc-634661fe5a3f091d6c4b15527ddc7cfc3e448469.tar.gz gcc-634661fe5a3f091d6c4b15527ddc7cfc3e448469.tar.bz2 |
check-init.c: Fix comment typos.
* check-init.c: Fix comment typos.
* class.c: Likewise.
* constants.c: Likewise.
* decl.c: Likewise.
* except.c: Likewise.
* expr.c: Likewise.
* java-except.h: Likewise.
* java-tree.h: Likewise.
* javaop.h: Likewise.
* jcf-dump.c: Likewise.
* jcf-io.c: Likewise.
* jcf-parse.c: Likewise.
* jcf-write.c: Likewise.
* lang.c: Likewise.
* mangle.c: Likewise.
* typeck.c: Likewise.
* verify.c: Likewise.
From-SVN: r61477
Diffstat (limited to 'gcc/java/expr.c')
-rw-r--r-- | gcc/java/expr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/java/expr.c b/gcc/java/expr.c index b36e368..e5c677c 100644 --- a/gcc/java/expr.c +++ b/gcc/java/expr.c @@ -92,7 +92,7 @@ static GTY(()) tree methods_ident; static GTY(()) tree ncode_ident; tree dtable_ident = NULL_TREE; -/* Set to nonzero value in order to emit class initilization code +/* Set to nonzero value in order to emit class initialization code before static field references. */ int always_initialize_class_p; @@ -125,7 +125,7 @@ int always_initialize_class_p; static GTY(()) tree quick_stack; -/* A free-list of unused permamnet TREE_LIST nodes. */ +/* A free-list of unused permanent TREE_LIST nodes. */ static GTY((deletable (""))) tree tree_list_free_list; /* The stack pointer of the Java virtual machine. @@ -795,7 +795,7 @@ build_java_arraystore_check (tree array, tree object) /* No check is needed if the element type is final or is itself an array. Also check that element_type matches object_type, since in the bytecode - compilation case element_type may be the actual element type of the arra + compilation case element_type may be the actual element type of the array rather than its declared type. */ if (element_type == object_type && (TYPE_ARRAY_P (TREE_TYPE (element_type)) @@ -955,7 +955,7 @@ expand_java_multianewarray (tree class_type, int ndim) ARRAY is an array type. May expand some bound checking and NULL pointer checking. RHS_TYPE_NODE we are going to store. In the case of the CHAR/BYTE/BOOLEAN SHORT, the type popped of the stack is an - INT. In those cases, we make the convertion. + INT. In those cases, we make the conversion. if ARRAy is a reference type, the assignment is checked at run-time to make sure that the RHS can be assigned to the array element |