namespace factor {
+bool return_takes_param_p() {
+#if defined(FACTOR_X86) || defined(FACTOR_AMD64)
+ return true;
+#else
+ return false;
+#endif
+}
+
callback_heap::callback_heap(cell size, factor_vm* parent) {
seg = new segment(size, true);
if (!seg)
seg = NULL;
}
-bool callback_heap::return_takes_param_p() {
-#if defined(FACTOR_X86) || defined(FACTOR_AMD64)
- return true;
-#else
- return false;
-#endif
-}
-
instruction_operand callback_heap::callback_operand(code_block* stub,
cell index) {
tagged<array> code_template(parent->special_objects[CALLBACK_STUB]);
callback_heap(cell size, factor_vm* parent);
~callback_heap();
- bool return_takes_param_p();
instruction_operand callback_operand(code_block* stub, cell index);
void store_callback_operand(code_block* stub, cell index, cell value);
void update(code_block* stub);