Displaying 4 results from an estimated 4 matches for "alloc_object".
2008 Apr 22
0
[LLVMdev] getting closer!
...uct is? I have my gc_allocate() method
Note: There's absolutely nothing special about the name
@llvm_gc_allocate, it's just a gentle suggestion. In fact, if you're
using the "model 1" heap tracing strategy, you probably want to use
something like this:
%class.object* @alloc_object(%runtime.class* %vtable, i32 %nbytes)
This way, the vtable pointer is guaranteed to be initialized before
the collector can possibly see it. (A null vtable could be defended
against in the collector, but that's an expensive spot to put a branch.)
> but I have no idea how big the struct...
2008 Apr 23
2
[LLVMdev] getting closer!
...method
>
> Note: There's absolutely nothing special about the name
> @llvm_gc_allocate, it's just a gentle suggestion. In fact, if you're
> using the "model 1" heap tracing strategy, you probably want to use
> something like this:
>
> %class.object* @alloc_object(%runtime.class* %vtable, i32 %nbytes)
an excellent idea. At the moment I am just doing structs not objects
so that I can figure things out.
> You can again use a constant expression here. Specifically:
>
> i32 ptrtoint(gep %mytype* null, i32 1 to i32)
>
> ConstantExpr has a helpe...
2008 Apr 22
2
[LLVMdev] getting closer!
On Apr 21, 2008, at 6:23 PM, Gordon Henriksen wrote:
> On Apr 21, 2008, at 20:09, Terence Parr wrote:
>
>> Ok, I *might* be getting this from the assembly code. ... From
>> that, it will push/pop in functions? If so, that's easy enough. :)
>
> Yup! Sounds like you've got it.
Yup, what i was missing and what somebody should add to the doc is
that
2016 Jun 10
0
Wine release 1.9.12
...olor keying.
ddraw/tests: Remove p8_primary_test.
Theodore Dubois (3):
shell32/tests: Fix out of memory errors and their underlying cause.
shell32/tests: Fix memory leaks.
shell32: Avoid closing the caller's key.
Thomas Faber (1):
wininet: Avoid buffer overrun in alloc_object.
Vincent Povirk (4):
explorer: Hide empty folders in the start menu.
gdiplus/tests: Accept empty metafiles having 0 size on Windows.
gdiplus: Return visible clip bounds in world coordinates.
mscoree: Update Wine Mono to 4.6.3.
YongHao Hu (1):
msvcr120/tests: Add crit...