Changes in directory llvm/include/llvm/ExecutionEngine:

ExecutionEngine.h updated: 1.44 -> 1.45
---
Log message:

Make StoreValueToMemory a little more efficient by not copying a 
GenericValue to a temporary.


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

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


Index: llvm/include/llvm/ExecutionEngine/ExecutionEngine.h
diff -u llvm/include/llvm/ExecutionEngine/ExecutionEngine.h:1.44 
llvm/include/llvm/ExecutionEngine/ExecutionEngine.h:1.45
--- llvm/include/llvm/ExecutionEngine/ExecutionEngine.h:1.44    Mon Mar  5 
21:01:54 2007
+++ llvm/include/llvm/ExecutionEngine/ExecutionEngine.h Mon Mar  5 23:02:28 2007
@@ -176,7 +176,7 @@
   const GlobalValue *getGlobalValueAtAddress(void *Addr);
 
 
-  void StoreValueToMemory(GenericValue Val, GenericValue *Ptr, const Type *Ty);
+  void StoreValueToMemory(const GenericValue &Val, GenericValue *Ptr, const 
Type *Ty);
   void InitializeMemory(const Constant *Init, void *Addr);
 
   /// recompileAndRelinkFunction - This method is used to force a function



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

Reply via email to