[Bf-blender-cvs] [24730931ee5] nodes_playground: cleanup
Jacques Lucke
noreply at git.blender.org
Sun Jan 6 17:25:34 CET 2019
Commit: 24730931ee57b4d113bf59bb1fa248988b65bf6e
Author: Jacques Lucke
Date: Sat Jan 5 11:53:39 2019 +0100
Branches: nodes_playground
https://developer.blender.org/rB24730931ee57b4d113bf59bb1fa248988b65bf6e
cleanup
===================================================================
M source/blender/modifiers/intern/node_compiler.hpp
===================================================================
diff --git a/source/blender/modifiers/intern/node_compiler.hpp b/source/blender/modifiers/intern/node_compiler.hpp
index 3896201478f..84bcb288e2b 100644
--- a/source/blender/modifiers/intern/node_compiler.hpp
+++ b/source/blender/modifiers/intern/node_compiler.hpp
@@ -25,9 +25,12 @@ class Type {
private:
HashMap<llvm::LLVMContext *, llvm::Type *> typePerContext;
+ /* Will be called at most once for every context. */
+ virtual llvm::Type *createLLVMType(llvm::LLVMContext &context) = 0;
+
public:
llvm::Type *getLLVMType(llvm::LLVMContext &context);
- virtual llvm::Type *createLLVMType(llvm::LLVMContext &context) = 0;
+
// virtual llvm::Value *buildCopyIR(llvm::Value *value);
// virtual void buildFreeIR(llvm::Value *value);
};
More information about the Bf-blender-cvs
mailing list