Skip to content

Commit

Permalink
Remove broken SHORT_OPCODES=0 build mode (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis authored Nov 12, 2023
1 parent a92e74a commit e8ff1f4
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 140 deletions.
2 changes: 0 additions & 2 deletions quickjs-opcode.h
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,6 @@ def( set_class_name, 5, 1, 1, u32) /* emitted in phase 1, removed in phase 2 */

def( line_num, 5, 0, 0, u32) /* emitted in phase 1, removed in phase 3 */

#if SHORT_OPCODES
DEF( push_minus1, 1, 0, 1, none_int)
DEF( push_0, 1, 0, 1, none_int)
DEF( push_1, 1, 0, 1, none_int)
Expand Down Expand Up @@ -356,7 +355,6 @@ DEF( is_undefined, 1, 1, 1, none)
DEF( is_null, 1, 1, 1, none)
DEF(typeof_is_undefined, 1, 1, 1, none)
DEF( typeof_is_function, 1, 1, 1, none)
#endif

#undef DEF
#undef def
Expand Down
Loading

0 comments on commit e8ff1f4

Please sign in to comment.