Skip to content

Commit 67c5c7a

Browse files
committed
squash! make codegen
1 parent 92166ca commit 67c5c7a

File tree

3 files changed

+20
-18
lines changed

3 files changed

+20
-18
lines changed

gen/function_source.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
#include "quickjs-libc.h"
44

5-
const uint32_t qjsc_function_source_size = 314;
5+
const uint32_t qjsc_function_source_size = 320;
66

7-
const uint8_t qjsc_function_source[314] = {
7+
const uint8_t qjsc_function_source[320] = {
88
0x13, 0x05, 0x01, 0x30, 0x74, 0x65, 0x73, 0x74,
99
0x73, 0x2f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69,
1010
0x6f, 0x6e, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63,
@@ -42,9 +42,9 @@ const uint8_t qjsc_function_source[314] = {
4242
0x00, 0xaf, 0xea, 0x0b, 0x38, 0x95, 0x00, 0x00,
4343
0x00, 0x62, 0x02, 0x00, 0xef, 0x2f, 0x68, 0x02,
4444
0x00, 0x68, 0x01, 0x00, 0x06, 0x2e, 0xc0, 0x03,
45-
0x01, 0x01, 0x0e, 0x00, 0x1c, 0x0a, 0x2a, 0x5d,
46-
0x18, 0x00, 0x10, 0x08, 0x25, 0x76, 0x0e, 0x5d,
47-
0x18, 0x00,
45+
0x01, 0x01, 0x14, 0x00, 0x1c, 0x0a, 0x2a, 0x26,
46+
0x03, 0x39, 0x28, 0x00, 0x10, 0x08, 0x27, 0x11,
47+
0x12, 0x67, 0x0d, 0x26, 0x03, 0x39, 0x28, 0x00,
4848
};
4949

5050
static JSContext *JS_NewCustomContext(JSRuntime *rt)

gen/hello_module.c

+10-8
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
#include "quickjs-libc.h"
44

5-
const uint32_t qjsc_fib_module_size = 282;
5+
const uint32_t qjsc_fib_module_size = 290;
66

7-
const uint8_t qjsc_fib_module[282] = {
7+
const uint8_t qjsc_fib_module[290] = {
88
0x13, 0x03, 0x01, 0x2c, 0x65, 0x78, 0x61, 0x6d,
99
0x70, 0x6c, 0x65, 0x73, 0x2f, 0x66, 0x69, 0x62,
1010
0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e,
@@ -19,8 +19,9 @@ const uint8_t qjsc_fib_module[282] = {
1919
0xb4, 0xa7, 0xea, 0x03, 0xb4, 0x28, 0xd1, 0xb5,
2020
0xac, 0xea, 0x03, 0xb5, 0x28, 0xdd, 0xd1, 0xb5,
2121
0x9e, 0xef, 0xdd, 0xd1, 0xb6, 0x9e, 0xef, 0x9d,
22-
0x28, 0xc0, 0x03, 0x02, 0x08, 0x06, 0x00, 0x0f,
23-
0x0e, 0x10, 0x1b, 0x1a, 0x8d, 0x01, 0x66, 0x75,
22+
0x28, 0xc0, 0x03, 0x02, 0x08, 0x0e, 0x09, 0x0c,
23+
0x27, 0x0a, 0x28, 0x02, 0x07, 0x08, 0x11, 0x0a,
24+
0x07, 0x08, 0x07, 0x08, 0x8d, 0x01, 0x66, 0x75,
2425
0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x66,
2526
0x69, 0x62, 0x28, 0x6e, 0x29, 0x0a, 0x7b, 0x0a,
2627
0x20, 0x20, 0x20, 0x20, 0x69, 0x66, 0x20, 0x28,
@@ -43,9 +44,9 @@ const uint8_t qjsc_fib_module[282] = {
4344
0x00, 0x00,
4445
};
4546

46-
const uint32_t qjsc_hello_module_size = 183;
47+
const uint32_t qjsc_hello_module_size = 187;
4748

48-
const uint8_t qjsc_hello_module[183] = {
49+
const uint8_t qjsc_hello_module[187] = {
4950
0x13, 0x07, 0x01, 0x30, 0x65, 0x78, 0x61, 0x6d,
5051
0x70, 0x6c, 0x65, 0x73, 0x2f, 0x68, 0x65, 0x6c,
5152
0x6c, 0x6f, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c,
@@ -67,8 +68,9 @@ const uint8_t qjsc_hello_module[183] = {
6768
0x00, 0x00, 0x00, 0x42, 0xe4, 0x00, 0x00, 0x00,
6869
0x04, 0xe6, 0x00, 0x00, 0x00, 0x65, 0x00, 0x00,
6970
0xbc, 0x0a, 0xef, 0x24, 0x02, 0x00, 0x0e, 0x06,
70-
0x2e, 0xc0, 0x03, 0x01, 0x01, 0x08, 0x18, 0x28,
71-
0x36, 0x17, 0x62, 0x00, 0x2a, 0x20, 0x00,
71+
0x2e, 0xc0, 0x03, 0x01, 0x01, 0x0c, 0x00, 0x04,
72+
0x08, 0x00, 0x34, 0x10, 0x30, 0x0f, 0x34, 0x10,
73+
0x2a, 0x20, 0x00,
7274
};
7375

7476
static JSContext *JS_NewCustomContext(JSRuntime *rt)

gen/test_fib.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
#include "quickjs-libc.h"
44

5-
const uint32_t qjsc_test_fib_size = 290;
5+
const uint32_t qjsc_test_fib_size = 294;
66

7-
const uint8_t qjsc_test_fib[290] = {
7+
const uint8_t qjsc_test_fib[294] = {
88
0x13, 0x0e, 0x01, 0x28, 0x65, 0x78, 0x61, 0x6d,
99
0x70, 0x6c, 0x65, 0x73, 0x2f, 0x74, 0x65, 0x73,
1010
0x74, 0x5f, 0x66, 0x69, 0x62, 0x2e, 0x6a, 0x73,
@@ -39,9 +39,9 @@ const uint8_t qjsc_test_fib[290] = {
3939
0xea, 0x00, 0x00, 0x00, 0x42, 0xeb, 0x00, 0x00,
4040
0x00, 0x04, 0xed, 0x00, 0x00, 0x00, 0x65, 0x02,
4141
0x00, 0xbc, 0x0a, 0xef, 0x24, 0x02, 0x00, 0x0e,
42-
0x06, 0x2e, 0xc0, 0x03, 0x01, 0x01, 0x0a, 0x00,
43-
0x45, 0x08, 0x6c, 0x36, 0x5b, 0x62, 0x00, 0x2a,
44-
0x20, 0x00,
42+
0x06, 0x2e, 0xc0, 0x03, 0x01, 0x01, 0x0e, 0x41,
43+
0x3c, 0x00, 0x39, 0x06, 0x3b, 0x34, 0x10, 0x30,
44+
0x0f, 0x34, 0x10, 0x2a, 0x20, 0x00,
4545
};
4646

4747
static JSContext *JS_NewCustomContext(JSRuntime *rt)

0 commit comments

Comments
 (0)