Changes in directory llvm/include/llvm/Bytecode:

BytecodeHandler.h updated: 1.15 -> 1.16
---
Log message:

avoid creating a temporary string when reading the symbol table for a
module.  This speeds up the bcreader 11%.


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

 BytecodeHandler.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/include/llvm/Bytecode/BytecodeHandler.h
diff -u llvm/include/llvm/Bytecode/BytecodeHandler.h:1.15 
llvm/include/llvm/Bytecode/BytecodeHandler.h:1.16
--- llvm/include/llvm/Bytecode/BytecodeHandler.h:1.15   Sat Feb 10 08:07:56 2007
+++ llvm/include/llvm/Bytecode/BytecodeHandler.h        Mon Feb 12 12:53:42 2007
@@ -175,7 +175,7 @@
   virtual void handleSymbolTableValue(
     unsigned i,              ///< The index of the value in this plane
     unsigned slot,           ///< Slot number of the named value
-    const std::string& name  ///< Name of the value.
+    const char *name, unsigned NameLen  ///< Name of the value.
   ) {}
 
   /// @brief Handle the end of a value symbol table



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to