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

Chris Lattner lattner at cs.uiuc.edu
Sat Jan 15 17:31:46 PST 2005



Changes in directory llvm/lib/ExecutionEngine/Interpreter:

ExternalFunctions.cpp updated: 1.81 -> 1.82
---
Log message:

Improve compatiblity with HPUX on Itanium, patch by Duraid Madina


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

Index: llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
diff -u llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp:1.81 llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp:1.82
--- llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp:1.81	Sat Jan  8 14:13:44 2005
+++ llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp	Sat Jan 15 19:31:31 2005
@@ -461,7 +461,7 @@
 
 // int clock(void) - Profiling implementation
 GenericValue lle_i_clock(FunctionType *M, const vector<GenericValue> &Args) {
-  extern int clock(void);
+  extern unsigned int clock(void);
   GenericValue GV; GV.IntVal = clock();
   return GV;
 }






More information about the llvm-commits mailing list