X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmini%2Fmini-gc.h;h=4e6355021c0a0ae6bc57ca8bcf32e74345e584a3;hb=0211f6e5c86f690a602b90044eb9dd51d43c211c;hp=83e759879136acde2b0112d5d5d8d3dd5756dc06;hpb=9f73fe252281725d5daa26c6780b6b03da9ac012;p=mono.git diff --git a/mono/mini/mini-gc.h b/mono/mini/mini-gc.h index 83e75987913..4e6355021c0 100644 --- a/mono/mini/mini-gc.h +++ b/mono/mini/mini-gc.h @@ -4,7 +4,7 @@ #include "mini.h" /* - * The GC type of a stack slot. + * The GC type of a stack slot or register. * This can change through the method as follows: * - a SLOT_REF can become SLOT_NOREF and vice-versa when it becomes live/dead. * - a SLOT_PIN can become SLOT_REF after it has been definitely assigned. @@ -14,9 +14,9 @@ typedef enum { SLOT_NOREF = 0, /* Stack slot contains a reference */ SLOT_REF = 1, - /* No info, slot needs to be scanned conservatively */ + /* No info or managed pointer, slot needs to be scanned conservatively */ SLOT_PIN = 2 -} StackSlotType; +} GCSlotType; void mini_gc_init (void) MONO_INTERNAL; @@ -24,6 +24,8 @@ void mini_gc_init_cfg (MonoCompile *cfg) MONO_INTERNAL; void mini_gc_create_gc_map (MonoCompile *cfg) MONO_INTERNAL; -void mini_gc_set_slot_type_from_cfa (MonoCompile *cfg, int slot_offset, StackSlotType type) MONO_INTERNAL; +void mini_gc_set_slot_type_from_fp (MonoCompile *cfg, int slot_offset, GCSlotType type) MONO_INTERNAL; + +void mini_gc_set_slot_type_from_cfa (MonoCompile *cfg, int slot_offset, GCSlotType type) MONO_INTERNAL; #endif