[llvm-commits] CVS: llvm-java/lib/Compiler/Compiler.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Wed Jul 28 03:10:38 PDT 2004
Changes in directory llvm-java/lib/Compiler:
Compiler.cpp updated: 1.70 -> 1.71
---
Log message:
Untabify, cleanup whitespace and properly indent code.
---
Diffs of the changes: (+5 -5)
Index: llvm-java/lib/Compiler/Compiler.cpp
diff -u llvm-java/lib/Compiler/Compiler.cpp:1.70 llvm-java/lib/Compiler/Compiler.cpp:1.71
--- llvm-java/lib/Compiler/Compiler.cpp:1.70 Sun Jul 25 05:37:29 2004
+++ llvm-java/lib/Compiler/Compiler.cpp Wed Jul 28 05:10:27 2004
@@ -221,7 +221,7 @@
return FunctionType::get(getTypeHelper(descr, ++i),
params, false);
}
- // FIXME: Throw something
+ // FIXME: Throw something
default: return NULL;
}
}
@@ -232,7 +232,7 @@
ClassFile* cf = ClassFile::getClassFile(className);
OpaqueType* newType = OpaqueType::get();
it = c2ciMap_.insert(it, std::make_pair(className,
- ClassInfo(newType)));
+ ClassInfo(newType)));
std::vector<const Type*> elements;
if (ConstantClass* super = cf->getSuperClass())
elements.push_back
@@ -440,7 +440,7 @@
// insert an opaque type for java.lang.Object. This is
// defined in runtime.ll
c2ciMap_.insert(std::make_pair("java/lang/Object",
- ClassInfo(OpaqueType::get())));
+ ClassInfo(OpaqueType::get())));
module.addTypeName("java/lang/Object",
getClassInfo("java/lang/Object").type);
@@ -746,7 +746,7 @@
c = new CallInst(module_->getOrInsertFunction
("llvm.isunordered",
Type::BoolTy, v1->getType(), v2->getType(), 0),
- v1, v2, TMP, getBBAt(bcI));
+ v1, v2, TMP, getBBAt(bcI));
r = new SelectInst(c,
ConstantSInt::get(Type::IntTy, valueIfUnordered),
r, TMP, getBBAt(bcI));
@@ -808,7 +808,7 @@
void do_putstatic(unsigned bcI, unsigned index) {
Value* v = opStack_.top(); opStack_.pop();
- new StoreInst(v, getStaticField(index), getBBAt(bcI));
+ new StoreInst(v, getStaticField(index), getBBAt(bcI));
}
void do_getfield(unsigned bcI, unsigned index) {
More information about the llvm-commits
mailing list