[llvm-commits] [vmkit] r51368 - /vmkit/trunk/lib/JnJVM/Classpath/ClasspathVMThrowable.cpp

Nicolas Geoffray nicolas.geoffray at lip6.fr
Wed May 21 03:32:56 PDT 2008


Author: geoffray
Date: Wed May 21 05:32:55 2008
New Revision: 51368

URL: http://llvm.org/viewvc/llvm-project?rev=51368&view=rev
Log:
Use new lookupAttribut function.


Modified:
    vmkit/trunk/lib/JnJVM/Classpath/ClasspathVMThrowable.cpp

Modified: vmkit/trunk/lib/JnJVM/Classpath/ClasspathVMThrowable.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/Classpath/ClasspathVMThrowable.cpp?rev=51368&r1=51367&r2=51368&view=diff

==============================================================================
--- vmkit/trunk/lib/JnJVM/Classpath/ClasspathVMThrowable.cpp (original)
+++ vmkit/trunk/lib/JnJVM/Classpath/ClasspathVMThrowable.cpp Wed May 21 05:32:55 2008
@@ -52,8 +52,7 @@
   JavaObject* className = vm->UTF8ToStr(cl->name->internalToJava(vm, 0, cl->name->size));
   JavaObject* sourceName = 0;
   
-  Attribut* sourceAtt = Attribut::lookup(&cl->attributs,
-                                         Attribut::sourceFileAttribut);
+  Attribut* sourceAtt = cl->lookupAttribut(Attribut::sourceFileAttribut);
   
   if (sourceAtt) {
     Reader* reader = sourceAtt->toReader(JavaThread::get()->isolate, cl->bytes,





More information about the llvm-commits mailing list