mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-08 12:18:31 +00:00
Fix JavaScript interpreter example
This commit is contained in:
parent
bfa8581537
commit
6f35bd47ab
2 changed files with 6 additions and 3 deletions
5
third_party/duktape/duk_js_compiler.c
vendored
5
third_party/duktape/duk_js_compiler.c
vendored
|
@ -1278,8 +1278,9 @@ DUK_LOCAL void duk__convert_to_func_template(duk_compiler_ctx *comp_ctx) {
|
|||
(1u << 12) /* slot B is a target (default: source) */
|
||||
#define DUK__EMIT_FLAG_C_IS_TARGET \
|
||||
(1u << 13) /* slot C is a target (default: source) */
|
||||
#define DUK__EMIT_FLAG_BC_REGCONST (1u << 14) /* slots B and C are reg/const \
|
||||
*/
|
||||
#define DUK__EMIT_FLAG_BC_REGCONST \
|
||||
(1u << 14) /* slots B and C are reg/const \
|
||||
*/
|
||||
#define DUK__EMIT_FLAG_RESERVE_JUMPSLOT \
|
||||
(1u << 15) /* reserve a jumpslot after instr before target spilling, used \
|
||||
for NEXTENUM */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue