Commit 67264b4f by Kazu Hirata

ChangeLog: Fix typos.

	* ChangeLog: Fix typos.
	* expr.c: Fix comment typos.
	* jcf-write.c: Likewise.
	* lang.c: Likewise.
	* lex.c: Likewise.
	* mangle.c: Likewise.
	* parse-scan.y: Likewise.
	* parse.y: Likewise.

From-SVN: r72809
parent 13229468
2003-10-22 Kazu Hirata <kazu@cs.umass.edu>
* ChangeLog: Fix typos.
* expr.c: Fix comment typos.
* jcf-write.c: Likewise.
* lang.c: Likewise.
* lex.c: Likewise.
* mangle.c: Likewise.
* parse-scan.y: Likewise.
* parse.y: Likewise.
2003-10-22 Tom Tromey <tromey@redhat.com>
* expr.c (expand_byte_code): Only warn about dead bytecode when
......@@ -3458,7 +3469,7 @@
2001-08-31 Per Bothner <per@bothner.com>
* class.c (set_constant_value): When not emiting class files, then a
* class.c (set_constant_value): When not emitting class files, then a
String ConstantValue is a utf8const_ptr_type.
2001-08-30 Per Bothner <per@bothner.com>
......@@ -3726,7 +3737,7 @@
`finish_class' when compiling to native.
(resolve_expression_name): Use `orig' after building outer class
field access.
(patch_invoke): Remember static method invokations.
(patch_invoke): Remember static method invocations.
2001-08-06 Richard Henderson <rth@redhat.com>
......@@ -4186,7 +4197,7 @@
(add_instance_initializer): Use it.
(java_fix_constructors): Set `current_class' before fix pass.
(fix_constructors): Just return if already fixed. Move `super()'
invokation ahead. Use `build_instance_initializer.'
invocation ahead. Use `build_instance_initializer.'
Fixes PR java/1315.
2001-04-04 Alexandre Petit-Bianco <apbianco@redhat.com>
......@@ -4194,7 +4205,7 @@
* parse.y (resolve_qualified_expression_name): Pass field's
DECL_CONTEXT to `not_accessible_p.'
(not_accessible_p): Changed parameters order in `inherits_from_p'
invokation.
invocation.
2001-03-27 Andrew Haley <aph@cambridge.redhat.com>
......@@ -7033,7 +7044,7 @@
2000-04-05 Alexandre Petit-Bianco <apbianco@cygnus.com>
* jcf-write.c (generate_bytecode_insns): At invokation time,
* jcf-write.c (generate_bytecode_insns): At invocation time,
always relate an interface method to the type of its selector.
2000-04-05 Tom Tromey <tromey@cygnus.com>
......@@ -7604,7 +7615,7 @@
2000-02-12 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (outer_field_access_fix): First parameter now a tree
node. Check for assignement to final. First argument to
node. Check for assignment to final. First argument to
build_outer_field_access_fix modified to accommodate prototype.
(build_outer_field_access): Don't check for assignment to final
here.
......@@ -8522,7 +8533,7 @@
1999-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (java_complete_lhs): Force convertion of array
* parse.y (java_complete_lhs): Force conversion of array
dimensions to int_type_node, that's what runtime's ABI expects.
1999-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
......@@ -9543,7 +9554,7 @@
1999-05-24 Alexandre Petit-Bianco <apbianco@cygnus.com>
* lex.c (java_lex): Accepts `+' or `-' after the beginning of a
floating point litteral only when the exponent indicator has been
floating point literal only when the exponent indicator has been
parsed.
1999-05-22 Alexandre Petit-Bianco <apbianco@cygnus.com>
......@@ -10265,7 +10276,7 @@
non accessible fields.
(java_stabilize_reference): New function.
(java_complete_lhs): Fixed indentation. Use
java_stabilize_reference in compound assignement. Insert the
java_stabilize_reference in compound assignment. Insert the
cast. If not processing `+' fix string constants before processing
binop.
......@@ -10893,7 +10904,7 @@
with assembler temp labels.
* parse.y (patch_synchronized_statement): Set TREE_SIDE_EFFECTS on
MODIFY_EXPR. Without this, code for the assignement may not be
MODIFY_EXPR. Without this, code for the assignment may not be
generated at all and the synchronized statement will read an
uninitialized variable.
......@@ -14616,7 +14627,7 @@
(block:): Likewise.
(labeled_statement_nsi:): Generate debug info when reducing
expression_statement:.
(check_pkg_class_access): get_access_flags_from_decl invokation
(check_pkg_class_access): get_access_flags_from_decl invocation
fixed for new CLASS_* flags location.
(source_end_java_method): Save/restore parser context when
entering/leaving this routine. Restore lineno to its right value
......
......@@ -107,7 +107,7 @@ int always_initialize_class_p;
If a variable is on the quick stack, it means the value of variable
when the quick stack was last flushed. Conceptually, flush_quick_stack
saves all the the quick_stack elements in parellel. However, that is
saves all the the quick_stack elements in parallel. However, that is
complicated, so it actually saves them (i.e. copies each stack value
to is home virtual register) from low indexes. This allows a quick_stack
element at index i (counting from the bottom of stack the) to references
......@@ -456,7 +456,7 @@ pop_value (tree type)
}
/* Pop and discrad the top COUNT stack slots. */
/* Pop and discard the top COUNT stack slots. */
static void
java_stack_pop (int count)
......
......@@ -276,7 +276,7 @@ struct jcf_partial
/* Information about the current switch statement. */
struct jcf_switch_state *sw_state;
/* The count of jsr instructions that have been emmitted. */
/* The count of jsr instructions that have been emitted. */
long num_jsrs;
};
......@@ -2868,7 +2868,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_count. */
/* Next allocate the chunk containing access_flags through fields_count. */
if (clas == object_type_node)
i = 10;
else
......@@ -2877,7 +2877,7 @@ generate_classfile (tree clas, struct jcf_partial *state)
i = get_access_flags (TYPE_NAME (clas));
if (! (i & ACC_INTERFACE))
i |= ACC_SUPER;
PUT2 (i); /* acces_flags */
PUT2 (i); /* access_flags */
i = find_class_constant (&state->cpool, clas); PUT2 (i); /* this_class */
if (clas == object_type_node)
{
......
......@@ -1104,14 +1104,14 @@ java_estimate_num_insns_1 (tree *tp, int *walk_subtrees, void *data)
return NULL;
}
/* Assume that constants and references counts nothing. These should
be majorized by amount of operations amoung them we count later
be majorized by amount of operations among them we count later
and are common target of CSE and similar optimizations. */
if (TREE_CODE_CLASS (TREE_CODE (x)) == 'c'
|| TREE_CODE_CLASS (TREE_CODE (x)) == 'r')
return NULL;
switch (TREE_CODE (x))
{
/* Reconginze assignments of large structures and constructors of
/* Recognize assignments of large structures and constructors of
big arrays. */
case MODIFY_EXPR:
case CONSTRUCTOR:
......
......@@ -1360,7 +1360,7 @@ do_java_lex (YYSTYPE *java_lval)
string = obstack_finish (&temporary_obstack);
#ifndef JC1_LITE
if (!no_error || (c != '"'))
java_lval->node = error_mark_node; /* FIXME: Requires futher
java_lval->node = error_mark_node; /* FIXME: Requires further
testing. */
else
java_lval->node = build_string (strlen (string), string);
......
......@@ -471,7 +471,7 @@ mangle_array_type (tree p_type)
}
/* Write a substitution string for entry I. Substitution string starts a
-1 (encoded S_.) The base is 36, and the code shamlessly taken from
-1 (encoded S_.) The base is 36, and the code shamelessly taken from
cp/mangle.c. */
static void
......
......@@ -565,7 +565,7 @@ constructor_declaration:
/* extra SC_TK, FIXME */
| modifiers constructor_declarator throws constructor_body SC_TK
{ modifier_value = 0; }
/* I'm not happy with the SC_TK addition. It isn't in the grammer and should
/* I'm not happy with the SC_TK addition. It isn't in the grammar and should
probably be matched by and empty statement. But it doesn't work. FIXME */
;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment