This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[patch] java/*.c: Fix comment typos.
- From: Kazu Hirata <kazu at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: java-patches at gcc dot gnu dot org
- Date: Sat, 8 Apr 2006 10:07:33 -0700
- Subject: [patch] java/*.c: Fix comment typos.
Hi,
Committed as obvious.
Kazu Hirata
2006-04-08 Kazu Hirata <kazu@codesourcery.com>
* expr.c, gjavah.c: Fix comment typos.
Index: java/expr.c
===================================================================
--- java/expr.c (revision 112781)
+++ java/expr.c (working copy)
@@ -1694,7 +1694,7 @@ build_field_ref (tree self_value, tree s
We assume that Page 0 will be mapped with NOPERM, and that
memory may be allocated from any other page, so only field
- offsets < pagesize are guaratneed to trap. We also assume
+ offsets < pagesize are guaranteed to trap. We also assume
the smallest page size we'll encounter is 4k bytes. */
if (! flag_syntax_only && check && ! flag_check_references
&& ! flag_indirect_dispatch)
Index: java/gjavah.c
===================================================================
--- java/gjavah.c (revision 112781)
+++ java/gjavah.c (working copy)
@@ -252,7 +252,7 @@ static int is_first_data_member = 0;
/* Only include byte-code decompilation optimizations for ELF targets
since the generated headers are only known to work with ELF weak
- symbol semnatics. Specifically, these optimizations are known to
+ symbol semantics. Specifically, these optimizations are known to
not work on PE-COFF and possibly others. */
#ifdef OBJECT_FORMAT_ELF
#define HANDLE_CODE_ATTRIBUTE(MAX_STACK, MAX_LOCALS, CODE_LENGTH) \