Merge remote-tracking branch 'origin/js-rm-class' into js-rm-modules
This commit is contained in:
@@ -161,7 +161,6 @@ else
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Try to find system-installed qjs-layout first
|
|
||||||
miniz_dep = dependency('miniz', static: true, required: false)
|
miniz_dep = dependency('miniz', static: true, required: false)
|
||||||
if not miniz_dep.found()
|
if not miniz_dep.found()
|
||||||
message('⚙ System miniz not found, building subproject...')
|
message('⚙ System miniz not found, building subproject...')
|
||||||
|
|||||||
@@ -107,18 +107,12 @@ DEF( array_from, 3, 0, 1, npop) /* arguments are not counted in n_pop */
|
|||||||
DEF( apply, 3, 3, 1, u16)
|
DEF( apply, 3, 3, 1, u16)
|
||||||
DEF( return, 1, 1, 0, none)
|
DEF( return, 1, 1, 0, none)
|
||||||
DEF( return_undef, 1, 0, 0, none)
|
DEF( return_undef, 1, 0, 0, none)
|
||||||
DEF(check_ctor_return, 1, 1, 2, none)
|
|
||||||
DEF( check_ctor, 1, 0, 0, none)
|
|
||||||
DEF( init_ctor, 1, 0, 1, none)
|
|
||||||
DEF( check_brand, 1, 2, 2, none) /* this_obj func -> this_obj func */
|
|
||||||
DEF( add_brand, 1, 2, 0, none) /* this_obj home_obj -> */
|
|
||||||
DEF( throw, 1, 1, 0, none)
|
DEF( throw, 1, 1, 0, none)
|
||||||
DEF( throw_error, 6, 0, 0, atom_u8)
|
DEF( throw_error, 6, 0, 0, atom_u8)
|
||||||
DEF( eval, 5, 1, 1, npop_u16) /* func args... -> ret_val */
|
DEF( eval, 5, 1, 1, npop_u16) /* func args... -> ret_val */
|
||||||
DEF( apply_eval, 3, 2, 1, u16) /* func array -> ret_eval */
|
DEF( apply_eval, 3, 2, 1, u16) /* func array -> ret_eval */
|
||||||
DEF( regexp, 1, 2, 1, none) /* create a RegExp object from the pattern and a
|
DEF( regexp, 1, 2, 1, none) /* create a RegExp object from the pattern and a
|
||||||
bytecode string */
|
bytecode string */
|
||||||
DEF( get_super, 1, 1, 1, none)
|
|
||||||
|
|
||||||
DEF( check_var, 5, 0, 1, atom) /* check if a variable exists */
|
DEF( check_var, 5, 0, 1, atom) /* check if a variable exists */
|
||||||
DEF( get_var_undef, 5, 0, 1, atom) /* push undefined if the variable does not exist */
|
DEF( get_var_undef, 5, 0, 1, atom) /* push undefined if the variable does not exist */
|
||||||
@@ -143,13 +137,10 @@ DEF( get_array_el, 1, 2, 1, none)
|
|||||||
DEF( get_array_el2, 1, 2, 2, none) /* obj prop -> obj value */
|
DEF( get_array_el2, 1, 2, 2, none) /* obj prop -> obj value */
|
||||||
DEF( get_array_el3, 1, 2, 3, none) /* obj prop -> obj prop1 value */
|
DEF( get_array_el3, 1, 2, 3, none) /* obj prop -> obj prop1 value */
|
||||||
DEF( put_array_el, 1, 3, 0, none)
|
DEF( put_array_el, 1, 3, 0, none)
|
||||||
DEF(get_super_value, 1, 3, 1, none) /* this obj prop -> value */
|
|
||||||
DEF(put_super_value, 1, 4, 0, none) /* this obj prop value -> */
|
|
||||||
DEF( define_field, 5, 2, 1, atom)
|
DEF( define_field, 5, 2, 1, atom)
|
||||||
DEF( set_name, 5, 1, 1, atom)
|
DEF( set_name, 5, 1, 1, atom)
|
||||||
DEF(set_name_computed, 1, 2, 2, none)
|
DEF(set_name_computed, 1, 2, 2, none)
|
||||||
DEF( set_proto, 1, 2, 1, none)
|
DEF( set_proto, 1, 2, 1, none)
|
||||||
DEF(set_home_object, 1, 2, 2, none)
|
|
||||||
DEF(define_array_el, 1, 3, 2, none)
|
DEF(define_array_el, 1, 3, 2, none)
|
||||||
DEF( append, 1, 3, 2, none) /* append enumerated object, update length */
|
DEF( append, 1, 3, 2, none) /* append enumerated object, update length */
|
||||||
DEF(copy_data_properties, 2, 3, 3, u8)
|
DEF(copy_data_properties, 2, 3, 3, u8)
|
||||||
@@ -248,7 +239,6 @@ DEF( and, 1, 2, 1, none)
|
|||||||
DEF( xor, 1, 2, 1, none)
|
DEF( xor, 1, 2, 1, none)
|
||||||
DEF( or, 1, 2, 1, none)
|
DEF( or, 1, 2, 1, none)
|
||||||
DEF(is_undefined_or_null, 1, 1, 1, none)
|
DEF(is_undefined_or_null, 1, 1, 1, none)
|
||||||
DEF( private_in, 1, 2, 1, none)
|
|
||||||
DEF(push_bigint_i32, 5, 0, 1, i32)
|
DEF(push_bigint_i32, 5, 0, 1, i32)
|
||||||
/* must be the last non short and non temporary opcode */
|
/* must be the last non short and non temporary opcode */
|
||||||
DEF( nop, 1, 0, 0, none)
|
DEF( nop, 1, 0, 0, none)
|
||||||
|
|||||||
793
source/quickjs.c
793
source/quickjs.c
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user