[ExecutionEngine] ArrayRefize argument passing.
[oota-llvm.git] / include / llvm / ExecutionEngine / ExecutionEngine.h
index 4b2add8bf5df7874c7f2b5f8fe79a8cfa0da5dba..f99c4f50c92f91d2f4bf7d81ada39518e667a39c 100644 (file)
@@ -205,7 +205,7 @@ public:
   /// runFunction - Execute the specified function with the specified arguments,
   /// and return the result.
   virtual GenericValue runFunction(Function *F,
-                                const std::vector<GenericValue> &ArgValues) = 0;
+                                   ArrayRef<GenericValue> ArgValues) = 0;
 
   /// getPointerToNamedFunction - This method returns the address of the
   /// specified function by using the dlsym function call.  As such it is only