search for: testmethod2

Displaying 2 results from an estimated 2 matches for "testmethod2".

Did you mean: testmethod
2007 Apr 04
0
[LLVMdev] For a small help
...I have this declared prior too > output = obj.testObject(input); // I want to create this instruction > Why not just code this up into a C++ function and submit it to the online demo to see what is produced? I submitted this: class TestClass { public: int testMethod(int a); virtual int testMethod2(int a); }; int doit() { TestClass obj; // I have this declared prior int input = 1; // I have declared prior int output; // I have this declared prior too output = obj.testMethod(input); // I want to create this inst output += obj.testMethod2(input); // Try virtual too return output...
2007 Apr 04
4
[LLVMdev] For a small help
Hi, I want to ask for a small help for creating an instruction that calls e member method of an object. I suppose that this is not a headache but I am impatient in learning :) I would be very thankful if you can show me an example snippet code that does this in LLVM. Below is described my case. Let's say I have a class TestClass class TestClass { int testMethod(int a); } and I want to