Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/njs_clang.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ njs_leading_zeros64(uint64_t x)

n = 0;

while ((x & 0x8000000000000000) == 0) {
while ((x & 0x8000000000000000ULL) == 0) {
n++;
x <<= 1;
}
Expand Down
5 changes: 3 additions & 2 deletions src/njs_value.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
#include <njs_main.h>


static njs_int_t njs_object_property_query(njs_vm_t *vm,
njs_property_query_t *pq, njs_object_t *object, uint32_t atom_id);
njs_inline njs_int_t
njs_object_property_query(njs_vm_t *vm, njs_property_query_t *pq,
njs_object_t *object, uint32_t atom_id);
static njs_int_t njs_array_property_query(njs_vm_t *vm,
njs_property_query_t *pq, njs_array_t *array, uint32_t index,
uint32_t atom_id);
Expand Down
2 changes: 1 addition & 1 deletion src/njs_vmcode.c
Original file line number Diff line number Diff line change
Expand Up @@ -2591,7 +2591,7 @@ njs_function_frame_create(njs_vm_t *vm, njs_value_t *value,
}


inline njs_object_t *
njs_object_t *
njs_function_new_object(njs_vm_t *vm, njs_value_t *constructor)
{
njs_value_t proto, bound;
Expand Down