pq->lhq.value = prop;
if (pq->query != NJS_PROPERTY_QUERY_GET) {
- /* pq->lhq.key is used by njs_vmcode_property_set for TypeError */
+ /* pq->lhq.key is used by NJS_VMCODE_PROPERTY_SET for TypeError */
njs_uint32_to_string(&pq->value, index);
njs_string_get(&pq->value, &pq->lhq.key);
}
njs_array_t *array;
};
-static njs_ret_t njs_vmcode_object(njs_vm_t *vm, u_char *pc);
+static njs_ret_t njs_vmcode_object(njs_vm_t *vm);
static njs_ret_t njs_vmcode_array(njs_vm_t *vm, u_char *pc);
static njs_ret_t njs_vmcode_function(njs_vm_t *vm, u_char *pc);
static njs_ret_t njs_vmcode_arguments(njs_vm_t *vm, u_char *pc);
goto next;
case NJS_VMCODE_OBJECT:
- ret = njs_vmcode_object(vm, pc);
+ ret = njs_vmcode_object(vm);
break;
case NJS_VMCODE_ARRAY:
static njs_ret_t
-njs_vmcode_object(njs_vm_t *vm, u_char *pc)
+njs_vmcode_object(njs_vm_t *vm)
{
njs_object_t *object;
} njs_vmcode_reference_error_t;
-nxt_int_t njs_vmcode_interpreter(njs_vm_t *vm, u_char *code);
+nxt_int_t njs_vmcode_interpreter(njs_vm_t *vm, u_char *pc);
+
#endif /* _NJS_VMCODE_H_INCLUDED_ */