| 96 | |
| 97 | |
| 98 | txSlot* fxNewObjectInstance(txMachine* the) |
| 99 | { |
| 100 | txSlot* instance; |
| 101 | instance = fxNewSlot(the); |
| 102 | instance->kind = XS_INSTANCE_KIND; |
| 103 | instance->value.instance.garbage = C_NULL; |
| 104 | instance->value.instance.prototype = the->stack->value.reference; |
| 105 | the->stack->value.reference = instance; |
| 106 | the->stack->kind = XS_REFERENCE_KIND; |
| 107 | return instance; |
| 108 | } |
| 109 | |
| 110 | void fx_Object(txMachine* the) |
| 111 | { |
no test coverage detected