Fix win64 compile error
parent
51f9d97753
commit
0fc8ee8250
|
@ -230,8 +230,8 @@ struct call_frame_scrubber {
|
||||||
gc_info *info = compiled->block_gc_info();
|
gc_info *info = compiled->block_gc_info();
|
||||||
|
|
||||||
assert(return_address < compiled->size());
|
assert(return_address < compiled->size());
|
||||||
int index = info->return_address_index(return_address);
|
cell index = info->return_address_index(return_address);
|
||||||
if(index != -1)
|
if(index != (cell)-1)
|
||||||
ctx->scrub_stacks(info,index);
|
ctx->scrub_stacks(info,index);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
namespace factor
|
namespace factor
|
||||||
{
|
{
|
||||||
|
|
||||||
const u32 gc_info_missing_value = (u32)-1;
|
const cell gc_info_missing_value = (cell)-1;
|
||||||
|
|
||||||
struct gc_info {
|
struct gc_info {
|
||||||
u32 scrub_d_count;
|
u32 scrub_d_count;
|
||||||
|
|
|
@ -292,7 +292,7 @@ struct call_frame_slot_visitor {
|
||||||
gc_info *info = compiled->block_gc_info();
|
gc_info *info = compiled->block_gc_info();
|
||||||
|
|
||||||
assert(return_address < compiled->size());
|
assert(return_address < compiled->size());
|
||||||
u32 callsite = info->return_address_index(return_address);
|
cell callsite = info->return_address_index(return_address);
|
||||||
if(callsite == gc_info_missing_value)
|
if(callsite == gc_info_missing_value)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue