omdev-cext 0.0.62__tar.gz → 0.0.63__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {omdev_cext-0.0.62/omdev_cext.egg-info → omdev_cext-0.0.63}/PKG-INFO +2 -2
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/omdev/js/quickjs/_pyqjsng.c +2 -2
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/omdev/js/quickjs/_quickjs/builtin-iterator-zip-keyed.h +137 -155
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/omdev/js/quickjs/_quickjs/builtin-iterator-zip.h +118 -133
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/omdev/js/quickjs/_quickjs/quickjs-libc.c +2 -2
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/omdev/js/quickjs/_quickjs/quickjs.c +20 -37
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/omdev/js/quickjs/_quickjs/quickjs.h +1 -1
- {omdev_cext-0.0.62 → omdev_cext-0.0.63/omdev_cext.egg-info}/PKG-INFO +2 -2
- omdev_cext-0.0.63/omdev_cext.egg-info/requires.txt +1 -0
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/pyproject.toml +2 -2
- omdev_cext-0.0.62/omdev_cext.egg-info/requires.txt +0 -1
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/LICENSE +0 -0
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/MANIFEST.in +0 -0
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/README.md +0 -0
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/omdev/cexts/_boilerplate.cc +0 -0
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/omdev/js/quickjs/_quickjs/builtin-array-fromasync.h +0 -0
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/omdev/js/quickjs/_quickjs/cutils.h +0 -0
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/omdev/js/quickjs/_quickjs/dtoa.c +0 -0
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/omdev/js/quickjs/_quickjs/dtoa.h +0 -0
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/omdev/js/quickjs/_quickjs/libregexp-opcode.h +0 -0
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/omdev/js/quickjs/_quickjs/libregexp.c +0 -0
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/omdev/js/quickjs/_quickjs/libregexp.h +0 -0
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/omdev/js/quickjs/_quickjs/libunicode-table.h +0 -0
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/omdev/js/quickjs/_quickjs/libunicode.c +0 -0
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/omdev/js/quickjs/_quickjs/libunicode.h +0 -0
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/omdev/js/quickjs/_quickjs/list.h +0 -0
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/omdev/js/quickjs/_quickjs/quickjs-atom.h +0 -0
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/omdev/js/quickjs/_quickjs/quickjs-c-atomics.h +0 -0
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/omdev/js/quickjs/_quickjs/quickjs-libc.h +0 -0
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/omdev/js/quickjs/_quickjs/quickjs-opcode.h +0 -0
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/omdev_cext.egg-info/SOURCES.txt +0 -0
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/omdev_cext.egg-info/dependency_links.txt +0 -0
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/omdev_cext.egg-info/top_level.txt +0 -0
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/setup.cfg +0 -0
- {omdev_cext-0.0.62 → omdev_cext-0.0.63}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: omdev-cext
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.63
|
|
4
4
|
Summary: omdev
|
|
5
5
|
Author: wrmsr
|
|
6
6
|
License-Expression: BSD-3-Clause
|
|
@@ -14,7 +14,7 @@ Classifier: Programming Language :: Python :: 3.15
|
|
|
14
14
|
Requires-Python: >=3.14
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
License-File: LICENSE
|
|
17
|
-
Requires-Dist: omdev==0.0.
|
|
17
|
+
Requires-Dist: omdev==0.0.63
|
|
18
18
|
Dynamic: license-file
|
|
19
19
|
|
|
20
20
|
# Overview
|
|
@@ -163,9 +163,9 @@ static void ctx_attach(ContextObject *self)
|
|
|
163
163
|
self->thread_state = NULL;
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
static int qjs_interrupt_handler(
|
|
166
|
+
static int qjs_interrupt_handler(JSContext *ctx, void *opaque)
|
|
167
167
|
{
|
|
168
|
-
(void)
|
|
168
|
+
(void)ctx;
|
|
169
169
|
ContextObject *self = (ContextObject *)opaque;
|
|
170
170
|
|
|
171
171
|
// Runs on the JS thread while it is detached from Python - must not touch any Python state.
|
{omdev_cext-0.0.62 → omdev_cext-0.0.63}/omdev/js/quickjs/_quickjs/builtin-iterator-zip-keyed.h
RENAMED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
#include <inttypes.h>
|
|
4
4
|
|
|
5
|
-
const uint32_t qjsc_builtin_iterator_zip_keyed_size =
|
|
5
|
+
const uint32_t qjsc_builtin_iterator_zip_keyed_size = 2433;
|
|
6
6
|
|
|
7
|
-
const uint8_t qjsc_builtin_iterator_zip_keyed[
|
|
8
|
-
0x1c,
|
|
7
|
+
const uint8_t qjsc_builtin_iterator_zip_keyed[2433] = {
|
|
8
|
+
0x1c, 0x2b, 0x9d, 0x00, 0xae, 0x2b, 0x01, 0x1c,
|
|
9
9
|
0x49, 0x74, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72,
|
|
10
10
|
0x48, 0x65, 0x6c, 0x70, 0x65, 0x72, 0x01, 0x08,
|
|
11
11
|
0x63, 0x61, 0x6c, 0x6c, 0x01, 0x24, 0x68, 0x61,
|
|
@@ -84,129 +84,120 @@ const uint8_t qjsc_builtin_iterator_zip_keyed[2577] = {
|
|
|
84
84
|
0xf6, 0x0e, 0x0e, 0x29, 0xd0, 0x6b, 0x07, 0x00,
|
|
85
85
|
0x00, 0x00, 0xcc, 0x6e, 0x28, 0x30, 0x0c, 0x43,
|
|
86
86
|
0x02, 0x00, 0xf2, 0x03, 0x02, 0x04, 0x02, 0x03,
|
|
87
|
-
0x00, 0x01, 0x00,
|
|
87
|
+
0x00, 0x01, 0x00, 0x48, 0x06, 0xfe, 0x03, 0x00,
|
|
88
88
|
0x01, 0x00, 0x80, 0x04, 0x00, 0x01, 0x00, 0x82,
|
|
89
89
|
0x04, 0x01, 0x00, 0x20, 0x84, 0x04, 0x02, 0x01,
|
|
90
90
|
0x20, 0xf8, 0x03, 0x03, 0x02, 0x20, 0xfc, 0x03,
|
|
91
91
|
0x03, 0x03, 0x20, 0xf0, 0x03, 0x01, 0x00, 0x60,
|
|
92
92
|
0x00, 0x00, 0x38, 0x49, 0x00, 0x00, 0x00, 0xcf,
|
|
93
93
|
0x60, 0x01, 0x00, 0xd8, 0xd0, 0x61, 0x01, 0x00,
|
|
94
|
-
0x8f, 0x62, 0x01, 0x00, 0xba, 0xa7, 0xf0,
|
|
94
|
+
0x8f, 0x62, 0x01, 0x00, 0xba, 0xa7, 0xf0, 0x2c,
|
|
95
95
|
0x60, 0x03, 0x00, 0x60, 0x02, 0x00, 0xd7, 0x61,
|
|
96
96
|
0x01, 0x00, 0x46, 0xd1, 0xd7, 0x61, 0x01, 0x00,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
0x04,
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
0x04,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
0x01,
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
0x00,
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
0x00,
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
0xf1, 0x04, 0x1b, 0x71, 0x1b, 0x1b, 0x64, 0x07,
|
|
160
|
-
0x00, 0x61, 0x03, 0x00, 0x46, 0x1b, 0x71, 0x1b,
|
|
161
|
-
0x48, 0xf3, 0x7b, 0x01, 0x06, 0xc8, 0x06, 0x6b,
|
|
97
|
+
0x38, 0x49, 0x00, 0x00, 0x00, 0x48, 0xe3, 0x61,
|
|
98
|
+
0x02, 0x00, 0xf5, 0xd2, 0x61, 0x00, 0x00, 0xf1,
|
|
99
|
+
0xd5, 0x61, 0x03, 0x00, 0x11, 0x62, 0x00, 0x00,
|
|
100
|
+
0x0e, 0xf2, 0xcb, 0x61, 0x00, 0x00, 0x28, 0x0c,
|
|
101
|
+
0x41, 0x02, 0x00, 0xba, 0x02, 0x02, 0x15, 0x01,
|
|
102
|
+
0x06, 0x08, 0x09, 0x02, 0x80, 0x05, 0x17, 0x86,
|
|
103
|
+
0x04, 0x00, 0x01, 0x00, 0x88, 0x04, 0x00, 0x01,
|
|
104
|
+
0x00, 0x86, 0x04, 0x01, 0xff, 0xff, 0xff, 0xff,
|
|
105
|
+
0x0f, 0x20, 0x88, 0x04, 0x01, 0x01, 0x20, 0x8a,
|
|
106
|
+
0x04, 0x02, 0x00, 0x60, 0x04, 0x8c, 0x04, 0x02,
|
|
107
|
+
0x03, 0x20, 0x62, 0x02, 0x04, 0x60, 0x02, 0x80,
|
|
108
|
+
0x04, 0x02, 0x05, 0x60, 0x01, 0xfe, 0x03, 0x02,
|
|
109
|
+
0x06, 0x60, 0x03, 0x8e, 0x04, 0x02, 0x07, 0x60,
|
|
110
|
+
0x06, 0x90, 0x04, 0x02, 0x08, 0x60, 0x05, 0x92,
|
|
111
|
+
0x04, 0x09, 0x15, 0x20, 0x84, 0x04, 0x0b, 0x15,
|
|
112
|
+
0x20, 0x94, 0x04, 0x0c, 0x0b, 0x20, 0x92, 0x04,
|
|
113
|
+
0x0c, 0x0c, 0x20, 0xf8, 0x03, 0x0e, 0x0d, 0x20,
|
|
114
|
+
0xfa, 0x03, 0x10, 0x0e, 0x20, 0x96, 0x04, 0x14,
|
|
115
|
+
0x0d, 0x20, 0x84, 0x04, 0x19, 0x15, 0x20, 0x84,
|
|
116
|
+
0x04, 0x1b, 0x15, 0x20, 0xfc, 0x03, 0x1c, 0x15,
|
|
117
|
+
0x03, 0x98, 0x04, 0x02, 0x09, 0x60, 0x00, 0x9a,
|
|
118
|
+
0x04, 0x02, 0x14, 0x60, 0x07, 0xb4, 0x03, 0x02,
|
|
119
|
+
0x01, 0xb8, 0x03, 0x01, 0x01, 0xe6, 0x03, 0x03,
|
|
120
|
+
0x01, 0xf2, 0x03, 0x02, 0x00, 0xee, 0x03, 0x00,
|
|
121
|
+
0x00, 0xea, 0x03, 0x05, 0x01, 0xe8, 0x03, 0x04,
|
|
122
|
+
0x01, 0xec, 0x03, 0x06, 0x01, 0xe4, 0x03, 0x00,
|
|
123
|
+
0x01, 0x0c, 0x42, 0x03, 0x00, 0x00, 0x00, 0x09,
|
|
124
|
+
0x00, 0x05, 0x00, 0x0c, 0x00, 0xb9, 0x04, 0x09,
|
|
125
|
+
0x9c, 0x04, 0x01, 0x00, 0x20, 0xe6, 0x01, 0x01,
|
|
126
|
+
0x01, 0x20, 0x9e, 0x04, 0x01, 0x02, 0x20, 0x84,
|
|
127
|
+
0x04, 0x03, 0x03, 0x20, 0x92, 0x04, 0x04, 0x04,
|
|
128
|
+
0x20, 0xf8, 0x03, 0x04, 0x05, 0x20, 0xa0, 0x04,
|
|
129
|
+
0x04, 0x06, 0x20, 0xfc, 0x03, 0x09, 0x07, 0x03,
|
|
130
|
+
0x82, 0x04, 0x10, 0x07, 0x20, 0x98, 0x04, 0x13,
|
|
131
|
+
0x10, 0xb4, 0x03, 0x00, 0x02, 0xb8, 0x03, 0x01,
|
|
132
|
+
0x02, 0x80, 0x04, 0x05, 0x10, 0x62, 0x04, 0x10,
|
|
133
|
+
0xfe, 0x03, 0x06, 0x10, 0x8a, 0x04, 0x02, 0x10,
|
|
134
|
+
0x90, 0x04, 0x08, 0x10, 0xe6, 0x03, 0x02, 0x02,
|
|
135
|
+
0x8e, 0x04, 0x07, 0x10, 0x9a, 0x04, 0x14, 0x10,
|
|
136
|
+
0xf2, 0x03, 0x03, 0x02, 0x60, 0x02, 0x00, 0x60,
|
|
137
|
+
0x01, 0x00, 0x60, 0x00, 0x00, 0x64, 0x00, 0x00,
|
|
138
|
+
0x11, 0xba, 0xad, 0xf1, 0x06, 0x11, 0xbb, 0xad,
|
|
139
|
+
0xf0, 0x09, 0xbc, 0x11, 0x65, 0x00, 0x00, 0x0e,
|
|
140
|
+
0xf2, 0x33, 0x11, 0xbc, 0xad, 0xf0, 0x0c, 0xe4,
|
|
141
|
+
0x11, 0x04, 0x11, 0x01, 0x00, 0x00, 0x21, 0x01,
|
|
142
|
+
0x00, 0x30, 0x11, 0xbd, 0xad, 0xf0, 0x13, 0x0b,
|
|
143
|
+
0x38, 0x49, 0x00, 0x00, 0x00, 0x4b, 0x44, 0x00,
|
|
144
|
+
0x00, 0x00, 0x0a, 0x4b, 0x71, 0x00, 0x00, 0x00,
|
|
145
|
+
0x28, 0xe5, 0x11, 0x04, 0x12, 0x01, 0x00, 0x00,
|
|
146
|
+
0x21, 0x01, 0x00, 0x30, 0x0e, 0xba, 0xcf, 0xba,
|
|
147
|
+
0xd0, 0x0c, 0x07, 0xd1, 0x60, 0x03, 0x00, 0xba,
|
|
148
|
+
0xd2, 0x61, 0x03, 0x00, 0x64, 0x03, 0x00, 0xa5,
|
|
149
|
+
0x68, 0x9f, 0x01, 0x00, 0x00, 0x60, 0x06, 0x00,
|
|
150
|
+
0x60, 0x05, 0x00, 0x60, 0x04, 0x00, 0x64, 0x04,
|
|
151
|
+
0x00, 0x61, 0x03, 0x00, 0x46, 0xc8, 0x04, 0x64,
|
|
152
|
+
0x05, 0x00, 0x61, 0x03, 0x00, 0x46, 0xc8, 0x05,
|
|
153
|
+
0x61, 0x05, 0x00, 0xf1, 0x28, 0x64, 0x06, 0x00,
|
|
154
|
+
0x04, 0x13, 0x01, 0x00, 0x00, 0xae, 0xf0, 0x0c,
|
|
155
|
+
0xe5, 0x11, 0x04, 0x12, 0x01, 0x00, 0x00, 0x21,
|
|
156
|
+
0x01, 0x00, 0x30, 0x61, 0x02, 0x00, 0x61, 0x04,
|
|
157
|
+
0x00, 0x64, 0x07, 0x00, 0x61, 0x03, 0x00, 0x46,
|
|
158
|
+
0x48, 0xf3, 0x4b, 0x01, 0x06, 0xc8, 0x06, 0x6b,
|
|
162
159
|
0x1a, 0x00, 0x00, 0x00, 0x5d, 0x08, 0x00, 0x61,
|
|
163
160
|
0x05, 0x00, 0x64, 0x09, 0x00, 0x61, 0x03, 0x00,
|
|
164
161
|
0x46, 0xf6, 0x11, 0x62, 0x06, 0x00, 0x0e, 0x0e,
|
|
165
|
-
0xf2,
|
|
162
|
+
0xf2, 0x29, 0xc8, 0x07, 0x6b, 0x24, 0x00, 0x00,
|
|
166
163
|
0x00, 0xba, 0x11, 0x65, 0x0a, 0x00, 0x0e, 0x64,
|
|
167
|
-
0x05, 0x00, 0x61, 0x03, 0x00,
|
|
168
|
-
|
|
169
|
-
0x00,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
0x06, 0x00, 0x40, 0x44, 0x00, 0x00, 0x00, 0x1b,
|
|
181
|
-
0x71, 0x1b, 0x48, 0x61, 0x01, 0x00, 0x90, 0x62,
|
|
182
|
-
0x01, 0x00, 0x0e, 0xf3, 0xd1, 0x00, 0x64, 0x0a,
|
|
164
|
+
0x05, 0x00, 0x61, 0x03, 0x00, 0x38, 0x49, 0x00,
|
|
165
|
+
0x00, 0x00, 0x48, 0x5d, 0x0b, 0x00, 0x64, 0x05,
|
|
166
|
+
0x00, 0x64, 0x03, 0x00, 0xf6, 0x0e, 0xc7, 0x07,
|
|
167
|
+
0x30, 0x30, 0x61, 0x06, 0x00, 0x40, 0x71, 0x00,
|
|
168
|
+
0x00, 0x00, 0xf1, 0x43, 0x64, 0x06, 0x00, 0x04,
|
|
169
|
+
0x14, 0x01, 0x00, 0x00, 0xad, 0xf0, 0x1e, 0x61,
|
|
170
|
+
0x00, 0x00, 0xba, 0xa7, 0xf0, 0x17, 0x5d, 0x0b,
|
|
171
|
+
0x00, 0x64, 0x05, 0x00, 0x64, 0x03, 0x00, 0xf6,
|
|
172
|
+
0x0e, 0xe4, 0x11, 0x04, 0x15, 0x01, 0x00, 0x00,
|
|
173
|
+
0x21, 0x01, 0x00, 0x30, 0x61, 0x02, 0x00, 0x61,
|
|
174
|
+
0x04, 0x00, 0x61, 0x06, 0x00, 0x40, 0x44, 0x00,
|
|
175
|
+
0x00, 0x00, 0x48, 0x61, 0x01, 0x00, 0x90, 0x62,
|
|
176
|
+
0x01, 0x00, 0x0e, 0xf3, 0xb9, 0x00, 0x64, 0x0a,
|
|
183
177
|
0x00, 0x8f, 0x65, 0x0a, 0x00, 0x0e, 0x61, 0x00,
|
|
184
178
|
0x00, 0x90, 0x62, 0x00, 0x00, 0x0e, 0x64, 0x05,
|
|
185
|
-
0x00, 0x61, 0x03, 0x00,
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
0x00,
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
0x00,
|
|
200
|
-
0x00,
|
|
201
|
-
0x1b, 0x11, 0xaf, 0xf1, 0x04, 0x1b, 0x71, 0x1b,
|
|
202
|
-
0x1b, 0x64, 0x07, 0x00, 0x61, 0x03, 0x00, 0x46,
|
|
203
|
-
0x1b, 0x71, 0x1b, 0x48, 0xf2, 0x27, 0x11, 0x04,
|
|
179
|
+
0x00, 0x61, 0x03, 0x00, 0x38, 0x49, 0x00, 0x00,
|
|
180
|
+
0x00, 0x48, 0x64, 0x06, 0x00, 0x60, 0x08, 0x00,
|
|
181
|
+
0x11, 0x04, 0x16, 0x01, 0x00, 0x00, 0xad, 0xf0,
|
|
182
|
+
0x2e, 0x5d, 0x0b, 0x00, 0x64, 0x05, 0x00, 0x64,
|
|
183
|
+
0x03, 0x00, 0xf6, 0xc8, 0x08, 0x61, 0x08, 0x00,
|
|
184
|
+
0xf0, 0x05, 0x61, 0x08, 0x00, 0x30, 0xbd, 0x11,
|
|
185
|
+
0x65, 0x00, 0x00, 0x0e, 0x0b, 0x38, 0x49, 0x00,
|
|
186
|
+
0x00, 0x00, 0x4b, 0x44, 0x00, 0x00, 0x00, 0x0a,
|
|
187
|
+
0x4b, 0x71, 0x00, 0x00, 0x00, 0x28, 0x11, 0x04,
|
|
188
|
+
0x13, 0x01, 0x00, 0x00, 0xad, 0xf0, 0x30, 0x64,
|
|
189
|
+
0x0a, 0x00, 0xbb, 0xa5, 0xf0, 0x19, 0xbd, 0x11,
|
|
190
|
+
0x65, 0x00, 0x00, 0x0e, 0x0b, 0x38, 0x49, 0x00,
|
|
191
|
+
0x00, 0x00, 0x4b, 0x44, 0x00, 0x00, 0x00, 0x0a,
|
|
192
|
+
0x4b, 0x71, 0x00, 0x00, 0x00, 0x28, 0x61, 0x02,
|
|
193
|
+
0x00, 0x61, 0x04, 0x00, 0x64, 0x07, 0x00, 0x61,
|
|
194
|
+
0x03, 0x00, 0x46, 0x48, 0xf2, 0x27, 0x11, 0x04,
|
|
204
195
|
0x14, 0x01, 0x00, 0x00, 0xad, 0xf0, 0x1e, 0x61,
|
|
205
196
|
0x01, 0x00, 0xba, 0xa7, 0xf0, 0x17, 0x5d, 0x0b,
|
|
206
197
|
0x00, 0x64, 0x05, 0x00, 0x64, 0x03, 0x00, 0xf6,
|
|
207
198
|
0x0e, 0xe4, 0x11, 0x04, 0x15, 0x01, 0x00, 0x00,
|
|
208
199
|
0x21, 0x01, 0x00, 0x30, 0x0e, 0x61, 0x03, 0x00,
|
|
209
|
-
0x90, 0x62, 0x03, 0x00, 0x0e, 0xf3,
|
|
200
|
+
0x90, 0x62, 0x03, 0x00, 0x0e, 0xf3, 0x5b, 0xfe,
|
|
210
201
|
0x61, 0x01, 0x00, 0xba, 0xad, 0xf0, 0x19, 0xbd,
|
|
211
202
|
0x11, 0x65, 0x00, 0x00, 0x0e, 0x0b, 0x38, 0x49,
|
|
212
203
|
0x00, 0x00, 0x00, 0x4b, 0x44, 0x00, 0x00, 0x00,
|
|
@@ -266,59 +257,50 @@ const uint8_t qjsc_builtin_iterator_zip_keyed[2577] = {
|
|
|
266
257
|
0xc8, 0x04, 0xba, 0xc8, 0x05, 0x26, 0x00, 0x00,
|
|
267
258
|
0xc8, 0x06, 0x26, 0x00, 0x00, 0xc8, 0x07, 0x26,
|
|
268
259
|
0x00, 0x00, 0xc8, 0x08, 0x60, 0x09, 0x00, 0x5d,
|
|
269
|
-
0x05, 0x00, 0xd7, 0xf5, 0x7e, 0xf2,
|
|
260
|
+
0x05, 0x00, 0xd7, 0xf5, 0x7e, 0xf2, 0x11, 0xc8,
|
|
270
261
|
0x09, 0x61, 0x04, 0x00, 0x61, 0x05, 0x00, 0x90,
|
|
271
|
-
0x62, 0x05, 0x00,
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
0x61,
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
0x60, 0x0f, 0x00, 0x61, 0x0a, 0x00, 0xbb, 0x9c,
|
|
297
|
-
0xc8, 0x0f, 0x61, 0x0f, 0x00, 0x61, 0x05, 0x00,
|
|
298
|
-
0xa5, 0xf0, 0x27, 0x61, 0x04, 0x00, 0x61, 0x0f,
|
|
299
|
-
0x00, 0xbb, 0x9d, 0x1b, 0x11, 0xaf, 0xf1, 0x04,
|
|
300
|
-
0x1b, 0x71, 0x1b, 0x1b, 0x61, 0x04, 0x00, 0x61,
|
|
301
|
-
0x0f, 0x00, 0x46, 0x1b, 0x71, 0x1b, 0x48, 0x61,
|
|
262
|
+
0x62, 0x05, 0x00, 0x61, 0x09, 0x00, 0x48, 0x81,
|
|
263
|
+
0x00, 0xf0, 0xed, 0x0e, 0x83, 0x6b, 0x41, 0x01,
|
|
264
|
+
0x00, 0x00, 0x60, 0x0a, 0x00, 0xba, 0xc8, 0x0a,
|
|
265
|
+
0x61, 0x0a, 0x00, 0x61, 0x05, 0x00, 0xa5, 0x68,
|
|
266
|
+
0xcc, 0x00, 0x00, 0x00, 0x60, 0x0c, 0x00, 0x60,
|
|
267
|
+
0x0b, 0x00, 0x0a, 0xc8, 0x0b, 0x61, 0x04, 0x00,
|
|
268
|
+
0x61, 0x0a, 0x00, 0x46, 0xc8, 0x0c, 0x5d, 0x06,
|
|
269
|
+
0x00, 0xd7, 0x61, 0x0c, 0x00, 0xf6, 0xf0, 0x60,
|
|
270
|
+
0x60, 0x0d, 0x00, 0xd7, 0x61, 0x0c, 0x00, 0x46,
|
|
271
|
+
0xc8, 0x0d, 0x61, 0x0d, 0x00, 0x38, 0x49, 0x00,
|
|
272
|
+
0x00, 0x00, 0xae, 0xf0, 0x4b, 0x60, 0x0e, 0x00,
|
|
273
|
+
0x5d, 0x04, 0x00, 0x61, 0x0d, 0x00, 0x04, 0x1c,
|
|
274
|
+
0x01, 0x00, 0x00, 0xf6, 0x0e, 0x61, 0x0d, 0x00,
|
|
275
|
+
0x5d, 0x07, 0x00, 0x46, 0xc8, 0x0e, 0x61, 0x0e,
|
|
276
|
+
0x00, 0xf0, 0x0e, 0xe5, 0x61, 0x0d, 0x00, 0x61,
|
|
277
|
+
0x0e, 0x00, 0xf6, 0x11, 0x62, 0x0d, 0x00, 0x0e,
|
|
278
|
+
0x61, 0x06, 0x00, 0x61, 0x0a, 0x00, 0x61, 0x0d,
|
|
279
|
+
0x00, 0x48, 0x61, 0x07, 0x00, 0x61, 0x0a, 0x00,
|
|
280
|
+
0x61, 0x0d, 0x00, 0x40, 0x72, 0x00, 0x00, 0x00,
|
|
281
|
+
0x48, 0x09, 0x11, 0x62, 0x0b, 0x00, 0x0e, 0x61,
|
|
282
|
+
0x0b, 0x00, 0xf0, 0x3e, 0x60, 0x0f, 0x00, 0x61,
|
|
283
|
+
0x0a, 0x00, 0xbb, 0x9c, 0xc8, 0x0f, 0x61, 0x0f,
|
|
284
|
+
0x00, 0x61, 0x05, 0x00, 0xa5, 0xf0, 0x1b, 0x61,
|
|
285
|
+
0x04, 0x00, 0x61, 0x0f, 0x00, 0xbb, 0x9d, 0x61,
|
|
286
|
+
0x04, 0x00, 0x61, 0x0f, 0x00, 0x46, 0x48, 0x61,
|
|
302
287
|
0x0f, 0x00, 0x90, 0x62, 0x0f, 0x00, 0x0e, 0xf2,
|
|
303
|
-
|
|
288
|
+
0xde, 0x61, 0x05, 0x00, 0x8f, 0x62, 0x05, 0x00,
|
|
304
289
|
0x0e, 0x61, 0x0a, 0x00, 0x8f, 0x62, 0x0a, 0x00,
|
|
305
290
|
0x0e, 0x61, 0x0a, 0x00, 0x90, 0x62, 0x0a, 0x00,
|
|
306
|
-
0x0e, 0xf3,
|
|
307
|
-
0x13, 0x01, 0x00, 0x00, 0xad, 0xf0,
|
|
308
|
-
0x03, 0x00, 0xf0,
|
|
291
|
+
0x0e, 0xf3, 0x2e, 0xff, 0x61, 0x02, 0x00, 0x04,
|
|
292
|
+
0x13, 0x01, 0x00, 0x00, 0xad, 0xf0, 0x56, 0x61,
|
|
293
|
+
0x03, 0x00, 0xf0, 0x2c, 0x60, 0x10, 0x00, 0xba,
|
|
309
294
|
0xc8, 0x10, 0x61, 0x10, 0x00, 0x61, 0x05, 0x00,
|
|
310
|
-
0xa5, 0xf0,
|
|
311
|
-
0x00,
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
0x1b, 0x38, 0x49, 0x00, 0x00, 0x00, 0x1b, 0x71,
|
|
320
|
-
0x1b, 0x48, 0x61, 0x11, 0x00, 0x90, 0x62, 0x11,
|
|
321
|
-
0x00, 0x0e, 0xf2, 0xd6, 0x0e, 0xf2, 0x15, 0xc8,
|
|
295
|
+
0xa5, 0xf0, 0x42, 0x61, 0x08, 0x00, 0x61, 0x10,
|
|
296
|
+
0x00, 0x61, 0x03, 0x00, 0x61, 0x04, 0x00, 0x61,
|
|
297
|
+
0x10, 0x00, 0x46, 0x46, 0x48, 0x61, 0x10, 0x00,
|
|
298
|
+
0x90, 0x62, 0x10, 0x00, 0x0e, 0xf2, 0xdc, 0x60,
|
|
299
|
+
0x11, 0x00, 0xba, 0xc8, 0x11, 0x61, 0x11, 0x00,
|
|
300
|
+
0x61, 0x05, 0x00, 0xa5, 0xf0, 0x17, 0x61, 0x08,
|
|
301
|
+
0x00, 0x61, 0x11, 0x00, 0x38, 0x49, 0x00, 0x00,
|
|
302
|
+
0x00, 0x48, 0x61, 0x11, 0x00, 0x90, 0x62, 0x11,
|
|
303
|
+
0x00, 0x0e, 0xf2, 0xe2, 0x0e, 0xf2, 0x15, 0xc8,
|
|
322
304
|
0x12, 0x6b, 0x10, 0x00, 0x00, 0x00, 0xe6, 0x61,
|
|
323
305
|
0x06, 0x00, 0x61, 0x05, 0x00, 0xf6, 0x0e, 0xc7,
|
|
324
306
|
0x12, 0x30, 0x30, 0xba, 0xc8, 0x13, 0x61, 0x05,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
#include <inttypes.h>
|
|
4
4
|
|
|
5
|
-
const uint32_t qjsc_builtin_iterator_zip_size =
|
|
5
|
+
const uint32_t qjsc_builtin_iterator_zip_size = 2495;
|
|
6
6
|
|
|
7
|
-
const uint8_t qjsc_builtin_iterator_zip[
|
|
8
|
-
0x1c,
|
|
7
|
+
const uint8_t qjsc_builtin_iterator_zip[2495] = {
|
|
8
|
+
0x1c, 0x34, 0xfe, 0xe7, 0xb6, 0x2a, 0x01, 0x1c,
|
|
9
9
|
0x49, 0x74, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72,
|
|
10
10
|
0x48, 0x65, 0x6c, 0x70, 0x65, 0x72, 0x01, 0x08,
|
|
11
11
|
0x63, 0x61, 0x6c, 0x6c, 0x01, 0x1e, 0x53, 0x79,
|
|
@@ -80,7 +80,7 @@ const uint8_t qjsc_builtin_iterator_zip[2615] = {
|
|
|
80
80
|
0xd7, 0x61, 0x00, 0x00, 0xf6, 0x0e, 0x0e, 0x29,
|
|
81
81
|
0xd0, 0x6b, 0x07, 0x00, 0x00, 0x00, 0xcc, 0x6e,
|
|
82
82
|
0x28, 0x30, 0x0c, 0x43, 0x02, 0x00, 0xee, 0x03,
|
|
83
|
-
0x02, 0x04, 0x02, 0x03, 0x00, 0x01, 0x00,
|
|
83
|
+
0x02, 0x04, 0x02, 0x03, 0x00, 0x01, 0x00, 0x48,
|
|
84
84
|
0x06, 0xfa, 0x03, 0x00, 0x01, 0x00, 0xfc, 0x03,
|
|
85
85
|
0x00, 0x01, 0x00, 0xfe, 0x03, 0x01, 0x00, 0x20,
|
|
86
86
|
0x80, 0x04, 0x02, 0x01, 0x20, 0xf4, 0x03, 0x03,
|
|
@@ -88,122 +88,113 @@ const uint8_t qjsc_builtin_iterator_zip[2615] = {
|
|
|
88
88
|
0x03, 0x01, 0x00, 0x60, 0x00, 0x00, 0x38, 0x49,
|
|
89
89
|
0x00, 0x00, 0x00, 0xcf, 0x60, 0x01, 0x00, 0xd8,
|
|
90
90
|
0xd0, 0x61, 0x01, 0x00, 0x8f, 0x62, 0x01, 0x00,
|
|
91
|
-
0xba, 0xa7, 0xf0,
|
|
91
|
+
0xba, 0xa7, 0xf0, 0x2c, 0x60, 0x03, 0x00, 0x60,
|
|
92
92
|
0x02, 0x00, 0xd7, 0x61, 0x01, 0x00, 0x46, 0xd1,
|
|
93
|
-
0xd7, 0x61, 0x01, 0x00,
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
0x02,
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
0x02,
|
|
121
|
-
|
|
122
|
-
0x00,
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
0x04,
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
0x10,
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
0x10,
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
0x00,
|
|
144
|
-
|
|
93
|
+
0xd7, 0x61, 0x01, 0x00, 0x38, 0x49, 0x00, 0x00,
|
|
94
|
+
0x00, 0x48, 0xe3, 0x61, 0x02, 0x00, 0xf5, 0xd2,
|
|
95
|
+
0x61, 0x00, 0x00, 0xf1, 0xd5, 0x61, 0x03, 0x00,
|
|
96
|
+
0x11, 0x62, 0x00, 0x00, 0x0e, 0xf2, 0xcb, 0x61,
|
|
97
|
+
0x00, 0x00, 0x28, 0x0c, 0x41, 0x02, 0x00, 0xb8,
|
|
98
|
+
0x02, 0x02, 0x1a, 0x01, 0x05, 0x07, 0x08, 0x02,
|
|
99
|
+
0xd8, 0x05, 0x1c, 0x82, 0x04, 0x00, 0x01, 0x00,
|
|
100
|
+
0x84, 0x04, 0x00, 0x01, 0x00, 0x82, 0x04, 0x01,
|
|
101
|
+
0xff, 0xff, 0xff, 0xff, 0x0f, 0x20, 0x84, 0x04,
|
|
102
|
+
0x01, 0x01, 0x20, 0x86, 0x04, 0x02, 0x00, 0x60,
|
|
103
|
+
0x03, 0x88, 0x04, 0x02, 0x03, 0x20, 0x8a, 0x04,
|
|
104
|
+
0x02, 0x04, 0x60, 0x04, 0xfa, 0x03, 0x02, 0x05,
|
|
105
|
+
0x60, 0x02, 0x8c, 0x04, 0x02, 0x06, 0x60, 0x05,
|
|
106
|
+
0xfc, 0x03, 0x02, 0x07, 0x60, 0x01, 0x8e, 0x04,
|
|
107
|
+
0x02, 0x08, 0x20, 0x90, 0x04, 0x02, 0x09, 0x20,
|
|
108
|
+
0xe4, 0x01, 0x09, 0x1a, 0x20, 0x92, 0x04, 0x0b,
|
|
109
|
+
0x0b, 0x20, 0xf8, 0x03, 0x0d, 0x0f, 0x03, 0xf4,
|
|
110
|
+
0x03, 0x0b, 0x0c, 0x20, 0xf6, 0x03, 0x0b, 0x0e,
|
|
111
|
+
0x20, 0xe4, 0x01, 0x13, 0x0b, 0x20, 0x80, 0x04,
|
|
112
|
+
0x13, 0x10, 0x20, 0xe2, 0x01, 0x13, 0x11, 0x20,
|
|
113
|
+
0x88, 0x01, 0x15, 0x16, 0x20, 0x92, 0x04, 0x16,
|
|
114
|
+
0x13, 0x20, 0xf8, 0x03, 0x17, 0x13, 0x03, 0x94,
|
|
115
|
+
0x04, 0x13, 0x12, 0x20, 0xfe, 0x03, 0x1c, 0x16,
|
|
116
|
+
0x20, 0xf8, 0x03, 0x1f, 0x1a, 0x03, 0x96, 0x04,
|
|
117
|
+
0x02, 0x0a, 0x60, 0x00, 0x98, 0x04, 0x02, 0x19,
|
|
118
|
+
0x60, 0x06, 0xb4, 0x03, 0x02, 0x01, 0xb8, 0x03,
|
|
119
|
+
0x01, 0x01, 0xe6, 0x03, 0x03, 0x01, 0xee, 0x03,
|
|
120
|
+
0x02, 0x00, 0xea, 0x03, 0x00, 0x00, 0xe8, 0x03,
|
|
121
|
+
0x04, 0x01, 0xec, 0x03, 0x01, 0x00, 0xe4, 0x03,
|
|
122
|
+
0x00, 0x01, 0x0c, 0x42, 0x03, 0x00, 0x00, 0x00,
|
|
123
|
+
0x08, 0x00, 0x05, 0x00, 0x0b, 0x00, 0xae, 0x04,
|
|
124
|
+
0x08, 0x9a, 0x04, 0x01, 0x00, 0x20, 0xe6, 0x01,
|
|
125
|
+
0x01, 0x01, 0x20, 0x9c, 0x04, 0x01, 0x02, 0x20,
|
|
126
|
+
0x80, 0x04, 0x03, 0x03, 0x20, 0xf4, 0x03, 0x04,
|
|
127
|
+
0x04, 0x20, 0x9e, 0x04, 0x04, 0x05, 0x20, 0xf8,
|
|
128
|
+
0x03, 0x09, 0x06, 0x03, 0xfe, 0x03, 0x10, 0x06,
|
|
129
|
+
0x20, 0x96, 0x04, 0x18, 0x10, 0xb4, 0x03, 0x00,
|
|
130
|
+
0x02, 0xb8, 0x03, 0x01, 0x02, 0xfc, 0x03, 0x07,
|
|
131
|
+
0x10, 0xfa, 0x03, 0x05, 0x10, 0x86, 0x04, 0x02,
|
|
132
|
+
0x10, 0x8a, 0x04, 0x04, 0x10, 0xe6, 0x03, 0x02,
|
|
133
|
+
0x02, 0x8c, 0x04, 0x06, 0x10, 0x98, 0x04, 0x19,
|
|
134
|
+
0x10, 0xee, 0x03, 0x03, 0x02, 0x60, 0x02, 0x00,
|
|
135
|
+
0x60, 0x01, 0x00, 0x60, 0x00, 0x00, 0x64, 0x00,
|
|
136
|
+
0x00, 0x11, 0xba, 0xad, 0xf1, 0x06, 0x11, 0xbb,
|
|
137
|
+
0xad, 0xf0, 0x09, 0xbc, 0x11, 0x65, 0x00, 0x00,
|
|
138
|
+
0x0e, 0xf2, 0x33, 0x11, 0xbc, 0xad, 0xf0, 0x0c,
|
|
139
|
+
0xe4, 0x11, 0x04, 0x10, 0x01, 0x00, 0x00, 0x21,
|
|
140
|
+
0x01, 0x00, 0x30, 0x11, 0xbd, 0xad, 0xf0, 0x13,
|
|
141
|
+
0x0b, 0x38, 0x49, 0x00, 0x00, 0x00, 0x4b, 0x44,
|
|
142
|
+
0x00, 0x00, 0x00, 0x0a, 0x4b, 0x71, 0x00, 0x00,
|
|
143
|
+
0x00, 0x28, 0xe5, 0x11, 0x04, 0x11, 0x01, 0x00,
|
|
144
|
+
0x00, 0x21, 0x01, 0x00, 0x30, 0x0e, 0xba, 0xcf,
|
|
145
|
+
0xba, 0xd0, 0x26, 0x00, 0x00, 0xd1, 0x60, 0x03,
|
|
146
|
+
0x00, 0xba, 0xd2, 0x61, 0x03, 0x00, 0x64, 0x03,
|
|
147
|
+
0x00, 0xa5, 0x68, 0x93, 0x01, 0x00, 0x00, 0x60,
|
|
148
|
+
0x05, 0x00, 0x60, 0x04, 0x00, 0x64, 0x04, 0x00,
|
|
149
|
+
0x61, 0x03, 0x00, 0x46, 0xc8, 0x04, 0x61, 0x04,
|
|
150
|
+
0x00, 0xf1, 0x28, 0x64, 0x05, 0x00, 0x04, 0x12,
|
|
151
|
+
0x01, 0x00, 0x00, 0xae, 0xf0, 0x0c, 0xe5, 0x11,
|
|
145
152
|
0x04, 0x11, 0x01, 0x00, 0x00, 0x21, 0x01, 0x00,
|
|
146
|
-
0x30,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
0x01, 0x00, 0x00, 0x60, 0x05, 0x00, 0x60, 0x04,
|
|
150
|
-
0x00, 0x64, 0x04, 0x00, 0x61, 0x03, 0x00, 0x46,
|
|
151
|
-
0xc8, 0x04, 0x61, 0x04, 0x00, 0xf1, 0x34, 0x64,
|
|
152
|
-
0x05, 0x00, 0x04, 0x12, 0x01, 0x00, 0x00, 0xae,
|
|
153
|
-
0xf0, 0x0c, 0xe5, 0x11, 0x04, 0x11, 0x01, 0x00,
|
|
154
|
-
0x00, 0x21, 0x01, 0x00, 0x30, 0x61, 0x02, 0x00,
|
|
155
|
-
0x61, 0x03, 0x00, 0x1b, 0x11, 0xaf, 0xf1, 0x04,
|
|
156
|
-
0x1b, 0x71, 0x1b, 0x1b, 0x64, 0x06, 0x00, 0x61,
|
|
157
|
-
0x03, 0x00, 0x46, 0x1b, 0x71, 0x1b, 0x48, 0xf3,
|
|
158
|
-
0x7b, 0x01, 0x06, 0xc8, 0x05, 0x6b, 0x1a, 0x00,
|
|
153
|
+
0x30, 0x61, 0x02, 0x00, 0x61, 0x03, 0x00, 0x64,
|
|
154
|
+
0x06, 0x00, 0x61, 0x03, 0x00, 0x46, 0x48, 0xf3,
|
|
155
|
+
0x4b, 0x01, 0x06, 0xc8, 0x05, 0x6b, 0x1a, 0x00,
|
|
159
156
|
0x00, 0x00, 0x5d, 0x07, 0x00, 0x61, 0x04, 0x00,
|
|
160
157
|
0x64, 0x08, 0x00, 0x61, 0x03, 0x00, 0x46, 0xf6,
|
|
161
|
-
0x11, 0x62, 0x05, 0x00, 0x0e, 0x0e, 0xf2,
|
|
162
|
-
0xc8, 0x06, 0x6b,
|
|
158
|
+
0x11, 0x62, 0x05, 0x00, 0x0e, 0x0e, 0xf2, 0x29,
|
|
159
|
+
0xc8, 0x06, 0x6b, 0x24, 0x00, 0x00, 0x00, 0xba,
|
|
163
160
|
0x11, 0x65, 0x09, 0x00, 0x0e, 0x64, 0x04, 0x00,
|
|
164
|
-
0x61, 0x03, 0x00,
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
0x00,
|
|
174
|
-
|
|
175
|
-
0x00, 0x61, 0x03, 0x00, 0x1b, 0x11, 0xaf, 0xf1,
|
|
176
|
-
0x04, 0x1b, 0x71, 0x1b, 0x1b, 0x61, 0x05, 0x00,
|
|
177
|
-
0x40, 0x44, 0x00, 0x00, 0x00, 0x1b, 0x71, 0x1b,
|
|
161
|
+
0x61, 0x03, 0x00, 0x38, 0x49, 0x00, 0x00, 0x00,
|
|
162
|
+
0x48, 0x5d, 0x0a, 0x00, 0x64, 0x04, 0x00, 0x64,
|
|
163
|
+
0x03, 0x00, 0xf6, 0x0e, 0xc7, 0x06, 0x30, 0x30,
|
|
164
|
+
0x61, 0x05, 0x00, 0x40, 0x71, 0x00, 0x00, 0x00,
|
|
165
|
+
0xf1, 0x43, 0x64, 0x05, 0x00, 0x04, 0x13, 0x01,
|
|
166
|
+
0x00, 0x00, 0xad, 0xf0, 0x1e, 0x61, 0x00, 0x00,
|
|
167
|
+
0xba, 0xa7, 0xf0, 0x17, 0x5d, 0x0a, 0x00, 0x64,
|
|
168
|
+
0x04, 0x00, 0x64, 0x03, 0x00, 0xf6, 0x0e, 0xe4,
|
|
169
|
+
0x11, 0x04, 0x14, 0x01, 0x00, 0x00, 0x21, 0x01,
|
|
170
|
+
0x00, 0x30, 0x61, 0x02, 0x00, 0x61, 0x03, 0x00,
|
|
171
|
+
0x61, 0x05, 0x00, 0x40, 0x44, 0x00, 0x00, 0x00,
|
|
178
172
|
0x48, 0x61, 0x01, 0x00, 0x90, 0x62, 0x01, 0x00,
|
|
179
|
-
0x0e, 0xf3,
|
|
173
|
+
0x0e, 0xf3, 0xb9, 0x00, 0x64, 0x09, 0x00, 0x8f,
|
|
180
174
|
0x65, 0x09, 0x00, 0x0e, 0x61, 0x00, 0x00, 0x90,
|
|
181
175
|
0x62, 0x00, 0x00, 0x0e, 0x64, 0x04, 0x00, 0x61,
|
|
182
|
-
0x03, 0x00,
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
0x00,
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
0xaf, 0xf1, 0x04, 0x1b, 0x71, 0x1b, 0x1b, 0x64,
|
|
199
|
-
0x06, 0x00, 0x61, 0x03, 0x00, 0x46, 0x1b, 0x71,
|
|
200
|
-
0x1b, 0x48, 0xf2, 0x27, 0x11, 0x04, 0x13, 0x01,
|
|
176
|
+
0x03, 0x00, 0x38, 0x49, 0x00, 0x00, 0x00, 0x48,
|
|
177
|
+
0x64, 0x05, 0x00, 0x60, 0x07, 0x00, 0x11, 0x04,
|
|
178
|
+
0x15, 0x01, 0x00, 0x00, 0xad, 0xf0, 0x2e, 0x5d,
|
|
179
|
+
0x0a, 0x00, 0x64, 0x04, 0x00, 0x64, 0x03, 0x00,
|
|
180
|
+
0xf6, 0xc8, 0x07, 0x61, 0x07, 0x00, 0xf0, 0x05,
|
|
181
|
+
0x61, 0x07, 0x00, 0x30, 0xbd, 0x11, 0x65, 0x00,
|
|
182
|
+
0x00, 0x0e, 0x0b, 0x38, 0x49, 0x00, 0x00, 0x00,
|
|
183
|
+
0x4b, 0x44, 0x00, 0x00, 0x00, 0x0a, 0x4b, 0x71,
|
|
184
|
+
0x00, 0x00, 0x00, 0x28, 0x11, 0x04, 0x12, 0x01,
|
|
185
|
+
0x00, 0x00, 0xad, 0xf0, 0x30, 0x64, 0x09, 0x00,
|
|
186
|
+
0xbb, 0xa5, 0xf0, 0x19, 0xbd, 0x11, 0x65, 0x00,
|
|
187
|
+
0x00, 0x0e, 0x0b, 0x38, 0x49, 0x00, 0x00, 0x00,
|
|
188
|
+
0x4b, 0x44, 0x00, 0x00, 0x00, 0x0a, 0x4b, 0x71,
|
|
189
|
+
0x00, 0x00, 0x00, 0x28, 0x61, 0x02, 0x00, 0x61,
|
|
190
|
+
0x03, 0x00, 0x64, 0x06, 0x00, 0x61, 0x03, 0x00,
|
|
191
|
+
0x46, 0x48, 0xf2, 0x27, 0x11, 0x04, 0x13, 0x01,
|
|
201
192
|
0x00, 0x00, 0xad, 0xf0, 0x1e, 0x61, 0x01, 0x00,
|
|
202
193
|
0xba, 0xa7, 0xf0, 0x17, 0x5d, 0x0a, 0x00, 0x64,
|
|
203
194
|
0x04, 0x00, 0x64, 0x03, 0x00, 0xf6, 0x0e, 0xe4,
|
|
204
195
|
0x11, 0x04, 0x14, 0x01, 0x00, 0x00, 0x21, 0x01,
|
|
205
196
|
0x00, 0x30, 0x0e, 0x61, 0x03, 0x00, 0x90, 0x62,
|
|
206
|
-
0x03, 0x00, 0x0e, 0xf3,
|
|
197
|
+
0x03, 0x00, 0x0e, 0xf3, 0x67, 0xfe, 0x61, 0x01,
|
|
207
198
|
0x00, 0xba, 0xad, 0xf0, 0x19, 0xbd, 0x11, 0x65,
|
|
208
199
|
0x00, 0x00, 0x0e, 0x0b, 0x38, 0x49, 0x00, 0x00,
|
|
209
200
|
0x00, 0x4b, 0x44, 0x00, 0x00, 0x00, 0x0a, 0x4b,
|
|
@@ -264,7 +255,7 @@ const uint8_t qjsc_builtin_iterator_zip[2615] = {
|
|
|
264
255
|
0x26, 0x00, 0x00, 0xc8, 0x06, 0xba, 0xc8, 0x07,
|
|
265
256
|
0x38, 0x49, 0x00, 0x00, 0x00, 0xc8, 0x08, 0xd7,
|
|
266
257
|
0x5d, 0x05, 0x00, 0x47, 0x24, 0x00, 0x00, 0xc8,
|
|
267
|
-
0x09, 0x6b,
|
|
258
|
+
0x09, 0x6b, 0x9b, 0x01, 0x00, 0x00, 0x60, 0x0a,
|
|
268
259
|
0x00, 0x61, 0x09, 0x00, 0x40, 0x72, 0x00, 0x00,
|
|
269
260
|
0x00, 0xc8, 0x0a, 0x60, 0x0e, 0x00, 0x60, 0x0d,
|
|
270
261
|
0x00, 0x60, 0x0b, 0x00, 0x06, 0xc8, 0x0b, 0x6b,
|
|
@@ -274,29 +265,26 @@ const uint8_t qjsc_builtin_iterator_zip[2615] = {
|
|
|
274
265
|
0x00, 0x00, 0x00, 0x38, 0x49, 0x00, 0x00, 0x00,
|
|
275
266
|
0x11, 0x62, 0x09, 0x00, 0x0e, 0xc7, 0x0c, 0x30,
|
|
276
267
|
0x30, 0x61, 0x0b, 0x00, 0x40, 0x71, 0x00, 0x00,
|
|
277
|
-
0x00, 0xf1,
|
|
268
|
+
0x00, 0xf1, 0x57, 0x61, 0x0b, 0x00, 0x40, 0x44,
|
|
278
269
|
0x00, 0x00, 0x00, 0xc8, 0x0d, 0x5d, 0x04, 0x00,
|
|
279
270
|
0x61, 0x0d, 0x00, 0x04, 0x1b, 0x01, 0x00, 0x00,
|
|
280
271
|
0xf6, 0x0e, 0x61, 0x0d, 0x00, 0x5d, 0x05, 0x00,
|
|
281
272
|
0x46, 0xc8, 0x0e, 0x61, 0x0e, 0x00, 0xf0, 0x0e,
|
|
282
273
|
0xe5, 0x61, 0x0d, 0x00, 0x61, 0x0e, 0x00, 0xf6,
|
|
283
274
|
0x11, 0x62, 0x0d, 0x00, 0x0e, 0x61, 0x05, 0x00,
|
|
284
|
-
0x61, 0x07, 0x00,
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
0x00,
|
|
288
|
-
0x1b, 0x1b, 0x61, 0x0d, 0x00, 0x40, 0x72, 0x00,
|
|
289
|
-
0x00, 0x00, 0x1b, 0x71, 0x1b, 0x48, 0x61, 0x07,
|
|
290
|
-
0x00, 0x90, 0x62, 0x07, 0x00, 0x0e, 0xf3, 0x54,
|
|
275
|
+
0x61, 0x07, 0x00, 0x61, 0x0d, 0x00, 0x48, 0x61,
|
|
276
|
+
0x06, 0x00, 0x61, 0x07, 0x00, 0x61, 0x0d, 0x00,
|
|
277
|
+
0x40, 0x72, 0x00, 0x00, 0x00, 0x48, 0x61, 0x07,
|
|
278
|
+
0x00, 0x90, 0x62, 0x07, 0x00, 0x0e, 0xf3, 0x6c,
|
|
291
279
|
0xff, 0x38, 0x49, 0x00, 0x00, 0x00, 0x11, 0x62,
|
|
292
|
-
0x09, 0x00, 0x0e, 0x61, 0x03, 0x00, 0x68,
|
|
280
|
+
0x09, 0x00, 0x0e, 0x61, 0x03, 0x00, 0x68, 0xe3,
|
|
293
281
|
0x00, 0x00, 0x00, 0x60, 0x15, 0x00, 0x60, 0x11,
|
|
294
282
|
0x00, 0x60, 0x10, 0x00, 0x60, 0x0f, 0x00, 0x61,
|
|
295
283
|
0x03, 0x00, 0x5d, 0x05, 0x00, 0x47, 0x24, 0x00,
|
|
296
284
|
0x00, 0x11, 0x62, 0x08, 0x00, 0x0e, 0x61, 0x08,
|
|
297
285
|
0x00, 0x40, 0x72, 0x00, 0x00, 0x00, 0xc8, 0x0f,
|
|
298
286
|
0xba, 0xc8, 0x10, 0x09, 0xc8, 0x11, 0x61, 0x10,
|
|
299
|
-
0x00, 0x61, 0x07, 0x00, 0xa5, 0xf0,
|
|
287
|
+
0x00, 0x61, 0x07, 0x00, 0xa5, 0xf0, 0x64, 0x60,
|
|
300
288
|
0x12, 0x00, 0x06, 0xc8, 0x12, 0x6b, 0x2e, 0x00,
|
|
301
289
|
0x00, 0x00, 0x60, 0x13, 0x00, 0xe5, 0x61, 0x08,
|
|
302
290
|
0x00, 0x61, 0x0f, 0x00, 0xf6, 0xc8, 0x13, 0x61,
|
|
@@ -306,22 +294,19 @@ const uint8_t qjsc_builtin_iterator_zip[2615] = {
|
|
|
306
294
|
0x0e, 0x0e, 0xf2, 0x16, 0xc8, 0x14, 0x6b, 0x11,
|
|
307
295
|
0x00, 0x00, 0x00, 0x38, 0x49, 0x00, 0x00, 0x00,
|
|
308
296
|
0x11, 0x62, 0x08, 0x00, 0x0e, 0xc7, 0x14, 0x30,
|
|
309
|
-
0x30, 0x61, 0x11, 0x00, 0xf1,
|
|
310
|
-
0x00, 0x61, 0x10, 0x00,
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
0x00, 0xf0,
|
|
319
|
-
0x10, 0x00,
|
|
320
|
-
0x61, 0x04, 0x00, 0x61, 0x10, 0x00, 0x1b, 0x11,
|
|
321
|
-
0xaf, 0xf1, 0x04, 0x1b, 0x71, 0x1b, 0x1b, 0x38,
|
|
322
|
-
0x49, 0x00, 0x00, 0x00, 0x1b, 0x71, 0x1b, 0x48,
|
|
297
|
+
0x30, 0x61, 0x11, 0x00, 0xf1, 0x15, 0x61, 0x04,
|
|
298
|
+
0x00, 0x61, 0x10, 0x00, 0x61, 0x12, 0x00, 0x48,
|
|
299
|
+
0x61, 0x10, 0x00, 0x90, 0x62, 0x10, 0x00, 0x0e,
|
|
300
|
+
0xf2, 0x95, 0x61, 0x08, 0x00, 0xc8, 0x15, 0x38,
|
|
301
|
+
0x49, 0x00, 0x00, 0x00, 0x11, 0x62, 0x08, 0x00,
|
|
302
|
+
0x0e, 0x61, 0x11, 0x00, 0xf1, 0x16, 0x60, 0x16,
|
|
303
|
+
0x00, 0x5d, 0x06, 0x00, 0x61, 0x15, 0x00, 0xf5,
|
|
304
|
+
0xc8, 0x16, 0x61, 0x16, 0x00, 0xf0, 0x05, 0x61,
|
|
305
|
+
0x16, 0x00, 0x30, 0x61, 0x10, 0x00, 0x61, 0x07,
|
|
306
|
+
0x00, 0xa5, 0xf0, 0x17, 0x61, 0x04, 0x00, 0x61,
|
|
307
|
+
0x10, 0x00, 0x38, 0x49, 0x00, 0x00, 0x00, 0x48,
|
|
323
308
|
0x61, 0x10, 0x00, 0x90, 0x62, 0x10, 0x00, 0x0e,
|
|
324
|
-
0xf2,
|
|
309
|
+
0xf2, 0xe2, 0x0e, 0xf2, 0x25, 0xc8, 0x17, 0x6b,
|
|
325
310
|
0x20, 0x00, 0x00, 0x00, 0xe6, 0x61, 0x05, 0x00,
|
|
326
311
|
0x61, 0x07, 0x00, 0xf6, 0x0e, 0x5d, 0x06, 0x00,
|
|
327
312
|
0x61, 0x09, 0x00, 0xf5, 0x0e, 0x5d, 0x06, 0x00,
|
|
@@ -1085,14 +1085,14 @@ static JSValue js_std_gc(JSContext *ctx, JSValueConst this_val,
|
|
|
1085
1085
|
return JS_UNDEFINED;
|
|
1086
1086
|
}
|
|
1087
1087
|
|
|
1088
|
-
static int interrupt_handler(
|
|
1088
|
+
static int interrupt_handler(JSContext *ctx, void *opaque)
|
|
1089
1089
|
{
|
|
1090
1090
|
JSThreadState *ts = opaque;
|
|
1091
1091
|
|
|
1092
1092
|
if (1 & (os_pending_signals >> SIGINT))
|
|
1093
1093
|
return 1;
|
|
1094
1094
|
if (ts->prev_interrupt_handler)
|
|
1095
|
-
return ts->prev_interrupt_handler(
|
|
1095
|
+
return ts->prev_interrupt_handler(ctx, ts->prev_interrupt_opaque);
|
|
1096
1096
|
return 0;
|
|
1097
1097
|
}
|
|
1098
1098
|
|
|
@@ -8656,7 +8656,7 @@ static no_inline __exception int __js_poll_interrupts(JSContext *ctx)
|
|
|
8656
8656
|
JSRuntime *rt = ctx->rt;
|
|
8657
8657
|
ctx->interrupt_counter = JS_INTERRUPT_COUNTER_INIT;
|
|
8658
8658
|
if (rt->interrupt_handler) {
|
|
8659
|
-
if (rt->interrupt_handler(
|
|
8659
|
+
if (rt->interrupt_handler(ctx, rt->interrupt_opaque)) {
|
|
8660
8660
|
JS_ThrowInterrupted(ctx);
|
|
8661
8661
|
return -1;
|
|
8662
8662
|
}
|
|
@@ -10557,9 +10557,15 @@ static int JS_SetPropertyInternal2(JSContext *ctx, JSValueConst obj, JSAtom prop
|
|
|
10557
10557
|
|
|
10558
10558
|
switch(JS_VALUE_GET_TAG(this_obj)) {
|
|
10559
10559
|
case JS_TAG_NULL:
|
|
10560
|
+
if (JS_IsObject(obj)) {
|
|
10561
|
+
goto primitive_receiver;
|
|
10562
|
+
}
|
|
10560
10563
|
JS_ThrowTypeErrorAtom(ctx, "cannot set property '%s' of null", prop);
|
|
10561
10564
|
goto fail;
|
|
10562
10565
|
case JS_TAG_UNDEFINED:
|
|
10566
|
+
if (JS_IsObject(obj)) {
|
|
10567
|
+
goto primitive_receiver;
|
|
10568
|
+
}
|
|
10563
10569
|
JS_ThrowTypeErrorAtom(ctx, "cannot set property '%s' of undefined", prop);
|
|
10564
10570
|
goto fail;
|
|
10565
10571
|
case JS_TAG_OBJECT:
|
|
@@ -10571,6 +10577,8 @@ static int JS_SetPropertyInternal2(JSContext *ctx, JSValueConst obj, JSAtom prop
|
|
|
10571
10577
|
default:
|
|
10572
10578
|
if (JS_VALUE_GET_TAG(obj) != JS_TAG_OBJECT)
|
|
10573
10579
|
obj = JS_GetPrototypePrimitive(ctx, obj);
|
|
10580
|
+
|
|
10581
|
+
primitive_receiver:
|
|
10574
10582
|
p = NULL;
|
|
10575
10583
|
p1 = JS_VALUE_GET_OBJ(obj);
|
|
10576
10584
|
goto prototype_lookup;
|
|
@@ -26322,11 +26330,7 @@ static __exception int get_lvalue(JSParseState *s, int *popcode, int *pscope,
|
|
|
26322
26330
|
opcode = OP_get_ref_value;
|
|
26323
26331
|
}
|
|
26324
26332
|
break;
|
|
26325
|
-
|
|
26326
|
-
emit_op(s, OP_to_propkey2);
|
|
26327
|
-
break;
|
|
26328
|
-
case OP_get_super_value:
|
|
26329
|
-
emit_op(s, OP_to_propkey);
|
|
26333
|
+
default:
|
|
26330
26334
|
break;
|
|
26331
26335
|
}
|
|
26332
26336
|
}
|
|
@@ -27079,6 +27083,7 @@ static __exception int js_parse_postfix_expr(JSParseState *s, int parse_flags)
|
|
|
27079
27083
|
{
|
|
27080
27084
|
FuncCallType call_type;
|
|
27081
27085
|
int optional_chaining_label;
|
|
27086
|
+
int import_line_num, import_col_num;
|
|
27082
27087
|
bool accept_lparen = (parse_flags & PF_POSTFIX_CALL) != 0;
|
|
27083
27088
|
|
|
27084
27089
|
call_type = FUNC_CALL_NORMAL;
|
|
@@ -27319,6 +27324,8 @@ static __exception int js_parse_postfix_expr(JSParseState *s, int parse_flags)
|
|
|
27319
27324
|
}
|
|
27320
27325
|
break;
|
|
27321
27326
|
case TOK_IMPORT:
|
|
27327
|
+
import_line_num = s->token.line_num;
|
|
27328
|
+
import_col_num = s->token.col_num;
|
|
27322
27329
|
if (next_token(s))
|
|
27323
27330
|
return -1;
|
|
27324
27331
|
if (s->token.val == '.') {
|
|
@@ -27358,6 +27365,7 @@ static __exception int js_parse_postfix_expr(JSParseState *s, int parse_flags)
|
|
|
27358
27365
|
}
|
|
27359
27366
|
if (js_parse_expect(s, ')'))
|
|
27360
27367
|
return -1;
|
|
27368
|
+
emit_source_loc_at(s, import_line_num, import_col_num);
|
|
27361
27369
|
emit_op(s, OP_import);
|
|
27362
27370
|
}
|
|
27363
27371
|
break;
|
|
@@ -28418,40 +28426,11 @@ static __exception int js_parse_assign_expr2(JSParseState *s, int parse_flags)
|
|
|
28418
28426
|
if (get_lvalue(s, &opcode, &scope, &name, &label, NULL, (op != '='), op) < 0)
|
|
28419
28427
|
return -1;
|
|
28420
28428
|
|
|
28421
|
-
// comply with rather obtuse evaluation order of computed properties:
|
|
28422
|
-
// obj[key]=val evaluates val->obj->key when obj is null/undefined
|
|
28423
|
-
// but key->obj->val when an object
|
|
28424
|
-
// FIXME(bnoordhuis) less stack shuffling; don't to_propkey twice in
|
|
28425
|
-
// happy path; replace `dup is_undefined_or_null if_true` with new
|
|
28426
|
-
// opcode if_undefined_or_null? replace `swap dup` with over?
|
|
28427
|
-
if (op == '=' && opcode == OP_get_array_el) {
|
|
28428
|
-
int label_next = -1;
|
|
28429
|
-
JSFunctionDef *fd = s->cur_func;
|
|
28430
|
-
assert(OP_to_propkey2 == fd->byte_code.buf[fd->last_opcode_pos]);
|
|
28431
|
-
fd->byte_code.size = fd->last_opcode_pos;
|
|
28432
|
-
fd->last_opcode_pos = -1;
|
|
28433
|
-
emit_op(s, OP_swap); // obj key -> key obj
|
|
28434
|
-
emit_op(s, OP_dup);
|
|
28435
|
-
emit_op(s, OP_is_undefined_or_null);
|
|
28436
|
-
label_next = emit_goto(s, OP_if_true, -1);
|
|
28437
|
-
emit_op(s, OP_swap);
|
|
28438
|
-
emit_op(s, OP_to_propkey);
|
|
28439
|
-
emit_op(s, OP_swap);
|
|
28440
|
-
emit_label(s, label_next);
|
|
28441
|
-
emit_op(s, OP_swap);
|
|
28442
|
-
}
|
|
28443
|
-
|
|
28444
28429
|
if (js_parse_assign_expr2(s, parse_flags)) {
|
|
28445
28430
|
JS_FreeAtom(s->ctx, name);
|
|
28446
28431
|
return -1;
|
|
28447
28432
|
}
|
|
28448
28433
|
|
|
28449
|
-
if (op == '=' && opcode == OP_get_array_el) {
|
|
28450
|
-
emit_op(s, OP_swap); // obj key val -> obj val key
|
|
28451
|
-
emit_op(s, OP_to_propkey);
|
|
28452
|
-
emit_op(s, OP_swap);
|
|
28453
|
-
}
|
|
28454
|
-
|
|
28455
28434
|
if (op == '=') {
|
|
28456
28435
|
if ((opcode == OP_get_ref_value || opcode == OP_scope_get_var) && name == name0) {
|
|
28457
28436
|
set_object_name(s, name);
|
|
@@ -49672,7 +49651,7 @@ int lre_check_timeout(void *opaque)
|
|
|
49672
49651
|
JSContext *ctx = opaque;
|
|
49673
49652
|
JSRuntime *rt = ctx->rt;
|
|
49674
49653
|
return (rt->interrupt_handler &&
|
|
49675
|
-
rt->interrupt_handler(
|
|
49654
|
+
rt->interrupt_handler(ctx, rt->interrupt_opaque));
|
|
49676
49655
|
}
|
|
49677
49656
|
|
|
49678
49657
|
void *lre_realloc(void *opaque, void *ptr, size_t size)
|
|
@@ -58219,7 +58198,11 @@ static JSValue js_Date_parse(JSContext *ctx, JSValueConst this_val,
|
|
|
58219
58198
|
/* convert the string as a byte array */
|
|
58220
58199
|
for (i = 0; i < sp->len && i < (int)countof(buf) - 1; i++) {
|
|
58221
58200
|
c = string_get(sp, i);
|
|
58222
|
-
|
|
58201
|
+
/* match V8 behaviour: treat Unicode space characters as regular spaces
|
|
58202
|
+
in legacy dates, but not U+2028 and U+2029 (line terminators). */
|
|
58203
|
+
if (c != 0x2028 && c != 0x2029 && lre_is_space(c))
|
|
58204
|
+
c = ' ';
|
|
58205
|
+
else if (c > 255)
|
|
58223
58206
|
c = (c == 0x2212) ? '-' : 'x';
|
|
58224
58207
|
buf[i] = c;
|
|
58225
58208
|
}
|
|
@@ -1187,7 +1187,7 @@ typedef void JSHostPromiseRejectionTracker(JSContext *ctx, JSValueConst promise,
|
|
|
1187
1187
|
JS_EXTERN void JS_SetHostPromiseRejectionTracker(JSRuntime *rt, JSHostPromiseRejectionTracker *cb, void *opaque);
|
|
1188
1188
|
|
|
1189
1189
|
/* return != 0 if the JS code needs to be interrupted */
|
|
1190
|
-
typedef int JSInterruptHandler(
|
|
1190
|
+
typedef int JSInterruptHandler(JSContext *ctx, void *opaque);
|
|
1191
1191
|
JS_EXTERN void JS_SetInterruptHandler(JSRuntime *rt, JSInterruptHandler *cb, void *opaque);
|
|
1192
1192
|
/* if can_block is true, Atomics.wait() can be used */
|
|
1193
1193
|
JS_EXTERN void JS_SetCanBlock(JSRuntime *rt, bool can_block);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: omdev-cext
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.63
|
|
4
4
|
Summary: omdev
|
|
5
5
|
Author: wrmsr
|
|
6
6
|
License-Expression: BSD-3-Clause
|
|
@@ -14,7 +14,7 @@ Classifier: Programming Language :: Python :: 3.15
|
|
|
14
14
|
Requires-Python: >=3.14
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
License-File: LICENSE
|
|
17
|
-
Requires-Dist: omdev==0.0.
|
|
17
|
+
Requires-Dist: omdev==0.0.63
|
|
18
18
|
Dynamic: license-file
|
|
19
19
|
|
|
20
20
|
# Overview
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
omdev==0.0.63
|
|
@@ -13,7 +13,7 @@ urls = {source = 'https://github.com/wrmsr/om'}
|
|
|
13
13
|
license = 'BSD-3-Clause'
|
|
14
14
|
readme = 'README.md'
|
|
15
15
|
requires-python = '>=3.14'
|
|
16
|
-
version = '0.0.
|
|
16
|
+
version = '0.0.63'
|
|
17
17
|
classifiers = [
|
|
18
18
|
'Intended Audience :: Developers',
|
|
19
19
|
'Operating System :: OS Independent',
|
|
@@ -24,7 +24,7 @@ classifiers = [
|
|
|
24
24
|
]
|
|
25
25
|
description = 'omdev'
|
|
26
26
|
dependencies = [
|
|
27
|
-
'omdev == 0.0.
|
|
27
|
+
'omdev == 0.0.63',
|
|
28
28
|
]
|
|
29
29
|
|
|
30
30
|
[tool.setuptools]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
omdev==0.0.62
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|