From 0efa499b2294635b86e5db04ec0c178d8390199e Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Thu, 20 Dec 2012 00:59:46 +0100 Subject: [PATCH] Cleanup: Actually use forward-declared types. --- gen/abi.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gen/abi.h b/gen/abi.h index 9eda79a7..fd9cb635 100644 --- a/gen/abi.h +++ b/gen/abi.h @@ -33,17 +33,17 @@ namespace llvm struct ABIRewrite { /// get a rewritten value back to its original form - virtual LLValue* get(Type* dty, DValue* v) = 0; + virtual llvm::Value* get(Type* dty, DValue* v) = 0; /// get a rewritten value back to its original form and store result in provided lvalue /// this one is optional and defaults to calling the one above virtual void getL(Type* dty, DValue* v, llvm::Value* lval); /// put out rewritten value - virtual LLValue* put(Type* dty, DValue* v) = 0; + virtual llvm::Value* put(Type* dty, DValue* v) = 0; /// should return the transformed type for this rewrite - virtual LLType* type(Type* dty, LLType* t) = 0; + virtual llvm::Type* type(Type* dty, llvm::Type* t) = 0; }; // interface called by codegen