search for: some_custom_interger

Displaying 1 result from an estimated 1 matches for "some_custom_interger".

2009 Apr 01
0
[LLVMdev] Type operator defenition
...unction in to reduce the overhead of going through each non operator function to find the operator function defined for it?? The reason for this seperate container is because most of languages defined operators to manipulate objects. For example each time there is an expression: class int_t : some_custom_interger ; int_t a, b; ... a + b we have to do : O(n) const Type* ta = typeof("a"); for (int i=0, e=ta->getNumContainedTypes(); i<e; i++) if( isa<Function>(*ta->getContainedType(i)) ) if( ta->getName() == "$operator +" ) call(function,...