[llvm-commits] CVS: llvm-java/lib/Compiler/VMField.h VMField.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Tue Mar 29 09:11:50 PST 2005
Changes in directory llvm-java/lib/Compiler:
VMField.h updated: 1.2 -> 1.3
VMField.cpp updated: 1.2 -> 1.3
---
Log message:
Rename member field.
---
Diffs of the changes: (+4 -4)
VMField.cpp | 2 +-
VMField.h | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
Index: llvm-java/lib/Compiler/VMField.h
diff -u llvm-java/lib/Compiler/VMField.h:1.2 llvm-java/lib/Compiler/VMField.h:1.3
--- llvm-java/lib/Compiler/VMField.h:1.2 Tue Mar 29 07:24:46 2005
+++ llvm-java/lib/Compiler/VMField.h Tue Mar 29 11:11:39 2005
@@ -29,7 +29,7 @@
class VMField {
const VMClass* parent_;
- const VMClass* clazz_;
+ const VMClass* class_;
const Field* field_;
union {
int index;
@@ -48,7 +48,7 @@
const Field* field,
int index)
: parent_(parent),
- clazz_(clazz),
+ class_(clazz),
field_(field) {
assert(!isStatic() && "This should be a member field!");
data_.index = index;
@@ -60,7 +60,7 @@
bool isStatic() const { return field_->isStatic(); }
const VMClass* getParent() const { return parent_; }
- const VMClass* getClass() const { return clazz_; }
+ const VMClass* getClass() const { return class_; }
int getMemberIndex() const {
assert(!isStatic() && "Field should not be static!");
return data_.index;
Index: llvm-java/lib/Compiler/VMField.cpp
diff -u llvm-java/lib/Compiler/VMField.cpp:1.2 llvm-java/lib/Compiler/VMField.cpp:1.3
--- llvm-java/lib/Compiler/VMField.cpp:1.2 Tue Mar 29 07:24:46 2005
+++ llvm-java/lib/Compiler/VMField.cpp Tue Mar 29 11:11:39 2005
@@ -23,7 +23,7 @@
const VMClass* clazz,
const Field* field)
: parent_(parent),
- clazz_(clazz),
+ class_(clazz),
field_(field)
{
assert(isStatic() && "This should be a static field!");
More information about the llvm-commits
mailing list