[llvm-commits] CVS: llvm-java/lib/Compiler/Resolver.cpp

Alkis Evlogimenos alkis at cs.uiuc.edu
Sat Apr 2 16:22:55 PST 2005



Changes in directory llvm-java/lib/Compiler:

Resolver.cpp updated: 1.18 -> 1.19
---
Log message:

Match types of runtime functions and structs. This allows again the
inlining of functions in the runtime.


---
Diffs of the changes:  (+2 -2)

 Resolver.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm-java/lib/Compiler/Resolver.cpp
diff -u llvm-java/lib/Compiler/Resolver.cpp:1.18 llvm-java/lib/Compiler/Resolver.cpp:1.19
--- llvm-java/lib/Compiler/Resolver.cpp:1.18	Sat Apr  2 12:55:56 2005
+++ llvm-java/lib/Compiler/Resolver.cpp	Sat Apr  2 18:22:44 2005
@@ -40,7 +40,7 @@
   // };
   //
   // struct type_info {
-  //   char** name;
+  //   char* name;
   //   int depth;
   //   struct class_record** superclasses;
   //   int interfaceIndex;
@@ -51,7 +51,7 @@
 
   // Compute the type_info type.
   std::vector<const Type*> elements;
-  elements.push_back(PointerType::get(PointerType::get(Type::SByteTy)));
+  elements.push_back(PointerType::get(Type::SByteTy));
   elements.push_back(Type::IntTy);
   elements.push_back(PointerType::get(PointerType::get(classRecordType_)));
   elements.push_back(Type::IntTy);






More information about the llvm-commits mailing list