[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

Nate Begeman natebegeman at mac.com
Sat Apr 22 11:54:04 PDT 2006



Changes in directory llvm/lib/ExecutionEngine:

ExecutionEngine.cpp updated: 1.79 -> 1.80
---
Log message:

JumpTable support!  What this represents is working asm and jit support for
x86 and ppc for 100% dense switch statements when relocations are non-PIC.
This support will be extended and enhanced in the coming days to support
PIC, and less dense forms of jump tables.


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

 ExecutionEngine.cpp |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)


Index: llvm/lib/ExecutionEngine/ExecutionEngine.cpp
diff -u llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.79 llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.80
--- llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.79	Sat Apr 22 00:02:46 2006
+++ llvm/lib/ExecutionEngine/ExecutionEngine.cpp	Sat Apr 22 13:53:45 2006
@@ -328,7 +328,10 @@
   return Result;
 }
 
-/// FIXME: document
+/// StoreValueToMemory - Stores the data in Val of type Ty at address Ptr.  Ptr
+/// is the address of the memory at which to store Val, cast to GenericValue *.
+/// It is not a pointer to a GenericValue containing the address at which to
+/// store Val.
 ///
 void ExecutionEngine::StoreValueToMemory(GenericValue Val, GenericValue *Ptr,
                                          const Type *Ty) {






More information about the llvm-commits mailing list