diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-11-27 20:48:17 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-11-27 20:48:17 +0000 |
commit | 0b1214ef13b33d75963d99c88e166d6f7cd73e36 (patch) | |
tree | 00982aa2e87de6ad9c146269be0ed2177614ef58 /gcc/java | |
parent | 270af55dd492407a9b18ab75458b2f9ecac98cb1 (diff) | |
download | gcc-0b1214ef13b33d75963d99c88e166d6f7cd73e36.zip gcc-0b1214ef13b33d75963d99c88e166d6f7cd73e36.tar.gz gcc-0b1214ef13b33d75963d99c88e166d6f7cd73e36.tar.bz2 |
* class.c, decl.c, expr.c: Fix comment typos.
From-SVN: r91392
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/java/class.c | 2 | ||||
-rw-r--r-- | gcc/java/decl.c | 2 | ||||
-rw-r--r-- | gcc/java/expr.c | 2 |
4 files changed, 7 insertions, 3 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 74a18c9..43bdf68 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,7 @@ +2004-11-27 Kazu Hirata <kazu@cs.umass.edu> + + * class.c, decl.c, expr.c: Fix comment typos. + 2004-11-26 Andrew Pinski <pinskia@physics.uc.edu> PR java/18305 diff --git a/gcc/java/class.c b/gcc/java/class.c index df398c7..2af0134 100644 --- a/gcc/java/class.c +++ b/gcc/java/class.c @@ -1609,7 +1609,7 @@ make_class_data (tree type) && ! flag_keep_inline_functions && optimize) continue; - /* Even if we have a decl, we don't necessaily have the code. + /* Even if we have a decl, we don't necessarily have the code. This can happen if we inherit a method from a superclass for which we don't have a .class file. */ if (METHOD_DUMMY (method)) diff --git a/gcc/java/decl.c b/gcc/java/decl.c index 103a112..5ec5d78 100644 --- a/gcc/java/decl.c +++ b/gcc/java/decl.c @@ -256,7 +256,7 @@ check_local_unnamed_variable (tree best, tree decl, tree type) new VAR_DECL. ???: As long as verification is correct, this will be a - compatible type. But maybe we should create a dummy vribale + compatible type. But maybe we should create a dummy variable and replace all references to it with the DECL and a NOP_EXPR. */ diff --git a/gcc/java/expr.c b/gcc/java/expr.c index 0fef94d..9df841b 100644 --- a/gcc/java/expr.c +++ b/gcc/java/expr.c @@ -2055,7 +2055,7 @@ build_known_method_ref (tree method, tree method_type ATTRIBUTE_UNUSED, if (is_compiled_class (self_type)) { /* With indirect dispatch we have to use indirect calls for all - publically visible methods or gcc will use PLT indirections + publicly visible methods or gcc will use PLT indirections to reach them. We also have to use indirect dispatch for all external methods. */ if (! flag_indirect_dispatch |