[llvm-commits] CVS: llvm/include/llvm/ExecutionEngine/ExecutionEngine.h
Reid Spencer
reid at x10sys.com
Mon Mar 5 21:02:45 PST 2007
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
More information about the llvm-commits
mailing list