From 634661fe5a3f091d6c4b15527ddc7cfc3e448469 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 18 Jan 2003 22:15:51 +0000 Subject: 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 --- gcc/java/jcf-write.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gcc/java/jcf-write.c') diff --git a/gcc/java/jcf-write.c b/gcc/java/jcf-write.c index 384cbee..7133fdb 100644 --- a/gcc/java/jcf-write.c +++ b/gcc/java/jcf-write.c @@ -129,7 +129,7 @@ struct jcf_block If the label has been defined: Until perform_relocations is finished, this is the maximum possible - value of the bytecode offset at the begnning of this block. + value of the bytecode offset at the beginning of this block. After perform_relocations, it is the actual offset (pc). */ int pc; @@ -537,7 +537,7 @@ alloc_handler (struct jcf_block *start_label, struct jcf_block *end_label, /* The index of jvm local variable allocated for this DECL. This is assigned when generating .class files; contrast DECL_LOCAL_SLOT_NUMBER which is set when *reading* a .class file. - (We don't allocate DECL_LANG_SPECIFIC for locals from Java sourc code.) */ + (We don't allocate DECL_LANG_SPECIFIC for locals from Java source code.) */ #define DECL_LOCAL_INDEX(DECL) DECL_ALIGN(DECL) @@ -1069,7 +1069,7 @@ emit_jsr (struct jcf_block *target, struct jcf_partial *state) /* Generate code to evaluate EXP. If the result is true, branch to TRUE_LABEL; otherwise, branch to FALSE_LABEL. - TRUE_BRANCH_FIRST is a code geneation hint that the + TRUE_BRANCH_FIRST is a code generation hint that the TRUE_LABEL may follow right after this. (The idea is that we may be able to optimize away GOTO TRUE_LABEL; TRUE_LABEL:) */ @@ -2820,7 +2820,7 @@ generate_classfile (tree clas, struct jcf_partial *state) append_chunk (NULL, 0, state); cpool_chunk = state->chunk; - /* Next allocate the chunk containing acces_flags through fields_counr. */ + /* Next allocate the chunk containing acces_flags through fields_count. */ if (clas == object_type_node) i = 10; else @@ -3292,7 +3292,7 @@ make_class_file_name (tree clas) return r; } -/* Write out the contens of a class (RECORD_TYPE) CLAS, as a .class file. +/* Write out the contents of a class (RECORD_TYPE) CLAS, as a .class file. The output .class file name is make_class_file_name(CLAS). */ void -- cgit v1.1