summaryrefslogtreecommitdiff
path: root/gcc/java/expr.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/expr.c')
-rw-r--r--gcc/java/expr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/java/expr.c b/gcc/java/expr.c
index b36e3683041..e5c677c2c11 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