vm: remove vm-ptr primitive
parent
580cbe75c6
commit
00328c85e0
|
@ -13,7 +13,7 @@ words.private definitions assocs summary compiler.units
|
|||
system.private combinators combinators.short-circuit locals
|
||||
locals.backend locals.types combinators.private
|
||||
stack-checker.values generic.single generic.single.private
|
||||
alien.libraries tools.dispatch.private tools.profiler.private vm
|
||||
alien.libraries tools.dispatch.private tools.profiler.private
|
||||
stack-checker.alien
|
||||
stack-checker.state
|
||||
stack-checker.errors
|
||||
|
@ -739,6 +739,4 @@ M: bad-executable summary
|
|||
|
||||
\ (exit) { integer } { } define-primitive
|
||||
|
||||
\ vm-ptr { } { alien } define-primitive
|
||||
|
||||
\ quot-compiled? { quotation } { object } define-primitive
|
||||
|
|
|
@ -530,7 +530,6 @@ tuple
|
|||
{ "dispatch-stats" "tools.dispatch.private" "primitive_dispatch_stats" (( -- stats )) }
|
||||
{ "reset-dispatch-stats" "tools.dispatch.private" "primitive_reset_dispatch_stats" (( -- )) }
|
||||
{ "profiling" "tools.profiler.private" "primitive_profiling" (( ? -- )) }
|
||||
{ "vm-ptr" "vm" "primitive_vm_ptr" (( -- ptr )) }
|
||||
{ "optimized?" "words" "primitive_optimized_p" (( word -- ? )) }
|
||||
{ "word-code" "words" "primitive_word_code" (( word -- start end )) }
|
||||
{ "(word)" "words.private" "primitive_word" (( name vocab -- word )) }
|
||||
|
|
|
@ -253,9 +253,4 @@ VM_C_API cell from_medium_struct(cell x1, cell x2, cell x3, cell x4, cell size,
|
|||
return parent->from_medium_struct(x1, x2, x3, x4, size);
|
||||
}
|
||||
|
||||
void factor_vm::primitive_vm_ptr()
|
||||
{
|
||||
ctx->push(allot_alien(this));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -129,7 +129,6 @@ PRIMITIVE(tuple)
|
|||
PRIMITIVE(tuple_boa)
|
||||
PRIMITIVE(unimplemented)
|
||||
PRIMITIVE(uninitialized_byte_array)
|
||||
PRIMITIVE(vm_ptr)
|
||||
PRIMITIVE(word)
|
||||
PRIMITIVE(word_code)
|
||||
PRIMITIVE(wrapper)
|
||||
|
|
|
@ -125,7 +125,6 @@ DECLARE_PRIMITIVE(tuple)
|
|||
DECLARE_PRIMITIVE(tuple_boa)
|
||||
DECLARE_PRIMITIVE(unimplemented)
|
||||
DECLARE_PRIMITIVE(uninitialized_byte_array)
|
||||
DECLARE_PRIMITIVE(vm_ptr)
|
||||
DECLARE_PRIMITIVE(word)
|
||||
DECLARE_PRIMITIVE(word_code)
|
||||
DECLARE_PRIMITIVE(wrapper)
|
||||
|
|
Loading…
Reference in New Issue