[llvm-commits] [vmkit] r51050 - in /vmkit/trunk/lib/JnJVM/VMCore: JavaArray.cpp JavaArray.h
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Tue May 13 08:30:57 PDT 2008
Author: geoffray
Date: Tue May 13 10:30:57 2008
New Revision: 51050
URL: http://llvm.org/viewvc/llvm-project?rev=51050&view=rev
Log:
Change the printing of ArrayUInt16 array.
Modified:
vmkit/trunk/lib/JnJVM/VMCore/JavaArray.cpp
vmkit/trunk/lib/JnJVM/VMCore/JavaArray.h
Modified: vmkit/trunk/lib/JnJVM/VMCore/JavaArray.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/VMCore/JavaArray.cpp?rev=51050&r1=51049&r2=51050&view=diff
==============================================================================
--- vmkit/trunk/lib/JnJVM/VMCore/JavaArray.cpp (original)
+++ vmkit/trunk/lib/JnJVM/VMCore/JavaArray.cpp Tue May 13 10:30:57 2008
@@ -122,15 +122,6 @@
buf->write(">");
}
-void ArrayUInt16::print(mvm::PrintBuffer *buf) const {
- buf->write("Array<");
- for (int i = 0; i < size; i++) {
- buf->writeS4(elements[i]);
- buf->write(" ");
- }
- buf->write(">");
-}
-
void ArraySInt16::print(mvm::PrintBuffer *buf) const {
buf->write("Array<");
for (int i = 0; i < size; i++) {
@@ -195,7 +186,7 @@
}
-void UTF8::print(mvm::PrintBuffer* buf) const {
+void ArrayUInt16::print(mvm::PrintBuffer* buf) const {
for (int i = 0; i < size; i++)
buf->writeChar((char)elements[i]);
}
Modified: vmkit/trunk/lib/JnJVM/VMCore/JavaArray.h
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/VMCore/JavaArray.h?rev=51050&r1=51049&r2=51050&view=diff
==============================================================================
--- vmkit/trunk/lib/JnJVM/VMCore/JavaArray.h (original)
+++ vmkit/trunk/lib/JnJVM/VMCore/JavaArray.h Tue May 13 10:30:57 2008
@@ -95,8 +95,6 @@
static const llvm::Type* llvmType;
- virtual void print(mvm::PrintBuffer* buf) const;
-
const UTF8* internalToJava(Jnjvm *vm, unsigned int start,
unsigned int len) const;
More information about the llvm-commits
mailing list