@php-wasm/node 2.0.15 → 2.0.18
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.
- package/asyncify/7_2_34/php_7_2.wasm +0 -0
- package/asyncify/7_3_33/php_7_3.wasm +0 -0
- package/asyncify/7_4_33/php_7_4.wasm +0 -0
- package/asyncify/8_0_30/php_8_0.wasm +0 -0
- package/asyncify/8_1_33/php_8_1.wasm +0 -0
- package/asyncify/8_2_29/php_8_2.wasm +0 -0
- package/asyncify/8_3_24/php_8_3.wasm +0 -0
- package/asyncify/8_4_11/php_8_4.wasm +0 -0
- package/asyncify/extensions/intl/7_2/intl.la +35 -0
- package/asyncify/extensions/intl/7_2/intl.so +0 -0
- package/asyncify/extensions/intl/7_3/intl.la +35 -0
- package/asyncify/extensions/intl/7_3/intl.so +0 -0
- package/asyncify/extensions/intl/7_4/intl.la +35 -0
- package/asyncify/extensions/intl/7_4/intl.so +0 -0
- package/asyncify/extensions/intl/8_0/intl.la +35 -0
- package/asyncify/extensions/intl/8_0/intl.so +0 -0
- package/asyncify/extensions/intl/8_1/intl.la +35 -0
- package/asyncify/extensions/intl/8_1/intl.so +0 -0
- package/asyncify/extensions/intl/8_2/intl.la +35 -0
- package/asyncify/extensions/intl/8_2/intl.so +0 -0
- package/asyncify/extensions/intl/8_3/intl.la +35 -0
- package/asyncify/extensions/intl/8_3/intl.so +0 -0
- package/asyncify/extensions/intl/8_4/intl.la +35 -0
- package/asyncify/extensions/intl/8_4/intl.so +0 -0
- package/asyncify/php_7_2.js +82 -83
- package/asyncify/php_7_3.js +82 -83
- package/asyncify/php_7_4.js +82 -83
- package/asyncify/php_8_0.js +82 -83
- package/asyncify/php_8_1.js +82 -83
- package/asyncify/php_8_2.js +82 -83
- package/asyncify/php_8_3.js +82 -83
- package/asyncify/php_8_4.js +82 -83
- package/index.cjs +5338 -7077
- package/index.js +5323 -7062
- package/jspi/{8_3_24 → 8_3_25}/php_8_3.wasm +0 -0
- package/jspi/extensions/intl/8_3/intl.so +0 -0
- package/jspi/php_8_3.js +31519 -34327
- package/package.json +7 -7
- package/asyncify/8_3_23/php_8_3.wasm +0 -0
- package/asyncify/8_4_10/php_8_4.wasm +0 -0
- package/jspi/8_4_10/php_8_4.wasm +0 -0
- package/lib/data/with-icu-data.d.ts +0 -2
- package/shared/icudt74l.dat +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# intl.la - a libtool library file
|
|
2
|
+
# Generated by ltmain.sh - GNU libtool 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)
|
|
3
|
+
#
|
|
4
|
+
# Please DO NOT delete this file!
|
|
5
|
+
# It is necessary for linking the library.
|
|
6
|
+
|
|
7
|
+
# The name that we can dlopen(3).
|
|
8
|
+
dlname='intl.so'
|
|
9
|
+
|
|
10
|
+
# Names of this library.
|
|
11
|
+
library_names='intl.so intl.so intl.so'
|
|
12
|
+
|
|
13
|
+
# The name of the static archive.
|
|
14
|
+
old_library=''
|
|
15
|
+
|
|
16
|
+
# Libraries that this one depends upon.
|
|
17
|
+
dependency_libs=''
|
|
18
|
+
|
|
19
|
+
# Version information for intl.
|
|
20
|
+
current=0
|
|
21
|
+
age=0
|
|
22
|
+
revision=0
|
|
23
|
+
|
|
24
|
+
# Is this an already installed library?
|
|
25
|
+
installed=yes
|
|
26
|
+
|
|
27
|
+
# Should we warn about portability when linking against -modules?
|
|
28
|
+
shouldnotlink=yes
|
|
29
|
+
|
|
30
|
+
# Files to dlopen/dlpreopen
|
|
31
|
+
dlopen=''
|
|
32
|
+
dlpreopen=''
|
|
33
|
+
|
|
34
|
+
# Directory that this library needs to be installed in:
|
|
35
|
+
libdir='/root/php-src/ext/intl/modules'
|
|
Binary file
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# intl.la - a libtool library file
|
|
2
|
+
# Generated by ltmain.sh - GNU libtool 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)
|
|
3
|
+
#
|
|
4
|
+
# Please DO NOT delete this file!
|
|
5
|
+
# It is necessary for linking the library.
|
|
6
|
+
|
|
7
|
+
# The name that we can dlopen(3).
|
|
8
|
+
dlname='intl.so'
|
|
9
|
+
|
|
10
|
+
# Names of this library.
|
|
11
|
+
library_names='intl.so intl.so intl.so'
|
|
12
|
+
|
|
13
|
+
# The name of the static archive.
|
|
14
|
+
old_library=''
|
|
15
|
+
|
|
16
|
+
# Libraries that this one depends upon.
|
|
17
|
+
dependency_libs=''
|
|
18
|
+
|
|
19
|
+
# Version information for intl.
|
|
20
|
+
current=0
|
|
21
|
+
age=0
|
|
22
|
+
revision=0
|
|
23
|
+
|
|
24
|
+
# Is this an already installed library?
|
|
25
|
+
installed=yes
|
|
26
|
+
|
|
27
|
+
# Should we warn about portability when linking against -modules?
|
|
28
|
+
shouldnotlink=yes
|
|
29
|
+
|
|
30
|
+
# Files to dlopen/dlpreopen
|
|
31
|
+
dlopen=''
|
|
32
|
+
dlpreopen=''
|
|
33
|
+
|
|
34
|
+
# Directory that this library needs to be installed in:
|
|
35
|
+
libdir='/root/php-src/ext/intl/modules'
|
|
Binary file
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# intl.la - a libtool library file
|
|
2
|
+
# Generated by ltmain.sh - GNU libtool 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)
|
|
3
|
+
#
|
|
4
|
+
# Please DO NOT delete this file!
|
|
5
|
+
# It is necessary for linking the library.
|
|
6
|
+
|
|
7
|
+
# The name that we can dlopen(3).
|
|
8
|
+
dlname='intl.so'
|
|
9
|
+
|
|
10
|
+
# Names of this library.
|
|
11
|
+
library_names='intl.so intl.so intl.so'
|
|
12
|
+
|
|
13
|
+
# The name of the static archive.
|
|
14
|
+
old_library=''
|
|
15
|
+
|
|
16
|
+
# Libraries that this one depends upon.
|
|
17
|
+
dependency_libs=' -L/root/lib'
|
|
18
|
+
|
|
19
|
+
# Version information for intl.
|
|
20
|
+
current=0
|
|
21
|
+
age=0
|
|
22
|
+
revision=0
|
|
23
|
+
|
|
24
|
+
# Is this an already installed library?
|
|
25
|
+
installed=yes
|
|
26
|
+
|
|
27
|
+
# Should we warn about portability when linking against -modules?
|
|
28
|
+
shouldnotlink=yes
|
|
29
|
+
|
|
30
|
+
# Files to dlopen/dlpreopen
|
|
31
|
+
dlopen=''
|
|
32
|
+
dlpreopen=''
|
|
33
|
+
|
|
34
|
+
# Directory that this library needs to be installed in:
|
|
35
|
+
libdir='/root/php-src/ext/intl/modules'
|
|
Binary file
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# intl.la - a libtool library file
|
|
2
|
+
# Generated by ltmain.sh - GNU libtool 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)
|
|
3
|
+
#
|
|
4
|
+
# Please DO NOT delete this file!
|
|
5
|
+
# It is necessary for linking the library.
|
|
6
|
+
|
|
7
|
+
# The name that we can dlopen(3).
|
|
8
|
+
dlname='intl.so'
|
|
9
|
+
|
|
10
|
+
# Names of this library.
|
|
11
|
+
library_names='intl.so intl.so intl.so'
|
|
12
|
+
|
|
13
|
+
# The name of the static archive.
|
|
14
|
+
old_library=''
|
|
15
|
+
|
|
16
|
+
# Libraries that this one depends upon.
|
|
17
|
+
dependency_libs=' -L/root/lib'
|
|
18
|
+
|
|
19
|
+
# Version information for intl.
|
|
20
|
+
current=0
|
|
21
|
+
age=0
|
|
22
|
+
revision=0
|
|
23
|
+
|
|
24
|
+
# Is this an already installed library?
|
|
25
|
+
installed=yes
|
|
26
|
+
|
|
27
|
+
# Should we warn about portability when linking against -modules?
|
|
28
|
+
shouldnotlink=yes
|
|
29
|
+
|
|
30
|
+
# Files to dlopen/dlpreopen
|
|
31
|
+
dlopen=''
|
|
32
|
+
dlpreopen=''
|
|
33
|
+
|
|
34
|
+
# Directory that this library needs to be installed in:
|
|
35
|
+
libdir='/root/php-src/ext/intl/modules'
|
|
Binary file
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# intl.la - a libtool library file
|
|
2
|
+
# Generated by ltmain.sh - GNU libtool 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)
|
|
3
|
+
#
|
|
4
|
+
# Please DO NOT delete this file!
|
|
5
|
+
# It is necessary for linking the library.
|
|
6
|
+
|
|
7
|
+
# The name that we can dlopen(3).
|
|
8
|
+
dlname='intl.so'
|
|
9
|
+
|
|
10
|
+
# Names of this library.
|
|
11
|
+
library_names='intl.so intl.so intl.so'
|
|
12
|
+
|
|
13
|
+
# The name of the static archive.
|
|
14
|
+
old_library=''
|
|
15
|
+
|
|
16
|
+
# Libraries that this one depends upon.
|
|
17
|
+
dependency_libs=' -L/root/lib'
|
|
18
|
+
|
|
19
|
+
# Version information for intl.
|
|
20
|
+
current=0
|
|
21
|
+
age=0
|
|
22
|
+
revision=0
|
|
23
|
+
|
|
24
|
+
# Is this an already installed library?
|
|
25
|
+
installed=yes
|
|
26
|
+
|
|
27
|
+
# Should we warn about portability when linking against -modules?
|
|
28
|
+
shouldnotlink=yes
|
|
29
|
+
|
|
30
|
+
# Files to dlopen/dlpreopen
|
|
31
|
+
dlopen=''
|
|
32
|
+
dlpreopen=''
|
|
33
|
+
|
|
34
|
+
# Directory that this library needs to be installed in:
|
|
35
|
+
libdir='/root/php-src/ext/intl/modules'
|
|
Binary file
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# intl.la - a libtool library file
|
|
2
|
+
# Generated by ltmain.sh - GNU libtool 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)
|
|
3
|
+
#
|
|
4
|
+
# Please DO NOT delete this file!
|
|
5
|
+
# It is necessary for linking the library.
|
|
6
|
+
|
|
7
|
+
# The name that we can dlopen(3).
|
|
8
|
+
dlname='intl.so'
|
|
9
|
+
|
|
10
|
+
# Names of this library.
|
|
11
|
+
library_names='intl.so intl.so intl.so'
|
|
12
|
+
|
|
13
|
+
# The name of the static archive.
|
|
14
|
+
old_library=''
|
|
15
|
+
|
|
16
|
+
# Libraries that this one depends upon.
|
|
17
|
+
dependency_libs=' -L/root/lib'
|
|
18
|
+
|
|
19
|
+
# Version information for intl.
|
|
20
|
+
current=0
|
|
21
|
+
age=0
|
|
22
|
+
revision=0
|
|
23
|
+
|
|
24
|
+
# Is this an already installed library?
|
|
25
|
+
installed=yes
|
|
26
|
+
|
|
27
|
+
# Should we warn about portability when linking against -modules?
|
|
28
|
+
shouldnotlink=yes
|
|
29
|
+
|
|
30
|
+
# Files to dlopen/dlpreopen
|
|
31
|
+
dlopen=''
|
|
32
|
+
dlpreopen=''
|
|
33
|
+
|
|
34
|
+
# Directory that this library needs to be installed in:
|
|
35
|
+
libdir='/root/php-src/ext/intl/modules'
|
|
Binary file
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# intl.la - a libtool library file
|
|
2
|
+
# Generated by ltmain.sh - GNU libtool 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)
|
|
3
|
+
#
|
|
4
|
+
# Please DO NOT delete this file!
|
|
5
|
+
# It is necessary for linking the library.
|
|
6
|
+
|
|
7
|
+
# The name that we can dlopen(3).
|
|
8
|
+
dlname='intl.so'
|
|
9
|
+
|
|
10
|
+
# Names of this library.
|
|
11
|
+
library_names='intl.so intl.so intl.so'
|
|
12
|
+
|
|
13
|
+
# The name of the static archive.
|
|
14
|
+
old_library=''
|
|
15
|
+
|
|
16
|
+
# Libraries that this one depends upon.
|
|
17
|
+
dependency_libs=' -L/root/lib'
|
|
18
|
+
|
|
19
|
+
# Version information for intl.
|
|
20
|
+
current=0
|
|
21
|
+
age=0
|
|
22
|
+
revision=0
|
|
23
|
+
|
|
24
|
+
# Is this an already installed library?
|
|
25
|
+
installed=yes
|
|
26
|
+
|
|
27
|
+
# Should we warn about portability when linking against -modules?
|
|
28
|
+
shouldnotlink=yes
|
|
29
|
+
|
|
30
|
+
# Files to dlopen/dlpreopen
|
|
31
|
+
dlopen=''
|
|
32
|
+
dlpreopen=''
|
|
33
|
+
|
|
34
|
+
# Directory that this library needs to be installed in:
|
|
35
|
+
libdir='/root/php-src/ext/intl/modules'
|
|
Binary file
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# intl.la - a libtool library file
|
|
2
|
+
# Generated by ltmain.sh - GNU libtool 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)
|
|
3
|
+
#
|
|
4
|
+
# Please DO NOT delete this file!
|
|
5
|
+
# It is necessary for linking the library.
|
|
6
|
+
|
|
7
|
+
# The name that we can dlopen(3).
|
|
8
|
+
dlname='intl.so'
|
|
9
|
+
|
|
10
|
+
# Names of this library.
|
|
11
|
+
library_names='intl.so intl.so intl.so'
|
|
12
|
+
|
|
13
|
+
# The name of the static archive.
|
|
14
|
+
old_library=''
|
|
15
|
+
|
|
16
|
+
# Libraries that this one depends upon.
|
|
17
|
+
dependency_libs=' -L/root/lib'
|
|
18
|
+
|
|
19
|
+
# Version information for intl.
|
|
20
|
+
current=0
|
|
21
|
+
age=0
|
|
22
|
+
revision=0
|
|
23
|
+
|
|
24
|
+
# Is this an already installed library?
|
|
25
|
+
installed=yes
|
|
26
|
+
|
|
27
|
+
# Should we warn about portability when linking against -modules?
|
|
28
|
+
shouldnotlink=yes
|
|
29
|
+
|
|
30
|
+
# Files to dlopen/dlpreopen
|
|
31
|
+
dlopen=''
|
|
32
|
+
dlpreopen=''
|
|
33
|
+
|
|
34
|
+
# Directory that this library needs to be installed in:
|
|
35
|
+
libdir='/root/php-src/ext/intl/modules'
|
|
Binary file
|
package/asyncify/php_7_2.js
CHANGED
|
@@ -8,7 +8,7 @@ import path from 'path';
|
|
|
8
8
|
|
|
9
9
|
const dependencyFilename = path.join(__dirname, '7_2_34', 'php_7_2.wasm');
|
|
10
10
|
export { dependencyFilename };
|
|
11
|
-
export const dependenciesTotalSize =
|
|
11
|
+
export const dependenciesTotalSize = 22894584;
|
|
12
12
|
const phpVersionString = '7.2.34';
|
|
13
13
|
export function init(RuntimeName, PHPLoader) {
|
|
14
14
|
// The rest of the code comes from the built php.js file and esm-suffix.js
|
|
@@ -831,7 +831,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
831
831
|
},
|
|
832
832
|
};
|
|
833
833
|
|
|
834
|
-
var ___heap_base =
|
|
834
|
+
var ___heap_base = 11082432;
|
|
835
835
|
|
|
836
836
|
var alignMemory = (size, alignment) => {
|
|
837
837
|
return Math.ceil(size / alignment) * alignment;
|
|
@@ -995,7 +995,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
995
995
|
|
|
996
996
|
/** @type {WebAssembly.Table} */
|
|
997
997
|
var wasmTable = new WebAssembly.Table({
|
|
998
|
-
initial:
|
|
998
|
+
initial: 11367,
|
|
999
999
|
element: 'anyfunc',
|
|
1000
1000
|
});
|
|
1001
1001
|
var getWasmTableEntry = (funcPtr) => {
|
|
@@ -1781,88 +1781,18 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
1781
1781
|
);
|
|
1782
1782
|
___call_sighandler.sig = 'vpi';
|
|
1783
1783
|
|
|
1784
|
-
class ExceptionInfo {
|
|
1785
|
-
// excPtr - Thrown object pointer to wrap. Metadata pointer is calculated from it.
|
|
1786
|
-
constructor(excPtr) {
|
|
1787
|
-
this.excPtr = excPtr;
|
|
1788
|
-
this.ptr = excPtr - 24;
|
|
1789
|
-
}
|
|
1790
|
-
|
|
1791
|
-
set_type(type) {
|
|
1792
|
-
HEAPU32[(this.ptr + 4) >> 2] = type;
|
|
1793
|
-
}
|
|
1794
|
-
|
|
1795
|
-
get_type() {
|
|
1796
|
-
return HEAPU32[(this.ptr + 4) >> 2];
|
|
1797
|
-
}
|
|
1798
|
-
|
|
1799
|
-
set_destructor(destructor) {
|
|
1800
|
-
HEAPU32[(this.ptr + 8) >> 2] = destructor;
|
|
1801
|
-
}
|
|
1802
|
-
|
|
1803
|
-
get_destructor() {
|
|
1804
|
-
return HEAPU32[(this.ptr + 8) >> 2];
|
|
1805
|
-
}
|
|
1806
|
-
|
|
1807
|
-
set_caught(caught) {
|
|
1808
|
-
caught = caught ? 1 : 0;
|
|
1809
|
-
HEAP8[this.ptr + 12] = caught;
|
|
1810
|
-
}
|
|
1811
|
-
|
|
1812
|
-
get_caught() {
|
|
1813
|
-
return HEAP8[this.ptr + 12] != 0;
|
|
1814
|
-
}
|
|
1815
|
-
|
|
1816
|
-
set_rethrown(rethrown) {
|
|
1817
|
-
rethrown = rethrown ? 1 : 0;
|
|
1818
|
-
HEAP8[this.ptr + 13] = rethrown;
|
|
1819
|
-
}
|
|
1820
|
-
|
|
1821
|
-
get_rethrown() {
|
|
1822
|
-
return HEAP8[this.ptr + 13] != 0;
|
|
1823
|
-
}
|
|
1824
|
-
|
|
1825
|
-
// Initialize native structure fields. Should be called once after allocated.
|
|
1826
|
-
init(type, destructor) {
|
|
1827
|
-
this.set_adjusted_ptr(0);
|
|
1828
|
-
this.set_type(type);
|
|
1829
|
-
this.set_destructor(destructor);
|
|
1830
|
-
}
|
|
1831
|
-
|
|
1832
|
-
set_adjusted_ptr(adjustedPtr) {
|
|
1833
|
-
HEAPU32[(this.ptr + 16) >> 2] = adjustedPtr;
|
|
1834
|
-
}
|
|
1835
|
-
|
|
1836
|
-
get_adjusted_ptr() {
|
|
1837
|
-
return HEAPU32[(this.ptr + 16) >> 2];
|
|
1838
|
-
}
|
|
1839
|
-
}
|
|
1840
|
-
|
|
1841
|
-
var exceptionLast = 0;
|
|
1842
|
-
|
|
1843
|
-
var uncaughtExceptionCount = 0;
|
|
1844
|
-
var ___cxa_throw = (ptr, type, destructor) => {
|
|
1845
|
-
var info = new ExceptionInfo(ptr);
|
|
1846
|
-
// Initialize ExceptionInfo content after it was allocated in __cxa_allocate_exception.
|
|
1847
|
-
info.init(type, destructor);
|
|
1848
|
-
exceptionLast = ptr;
|
|
1849
|
-
uncaughtExceptionCount++;
|
|
1850
|
-
throw exceptionLast;
|
|
1851
|
-
};
|
|
1852
|
-
___cxa_throw.sig = 'vppp';
|
|
1853
|
-
|
|
1854
1784
|
var ___memory_base = new WebAssembly.Global(
|
|
1855
1785
|
{ value: 'i32', mutable: false },
|
|
1856
1786
|
1024
|
|
1857
1787
|
);
|
|
1858
1788
|
|
|
1859
|
-
var ___stack_high =
|
|
1789
|
+
var ___stack_high = 11082432;
|
|
1860
1790
|
|
|
1861
|
-
var ___stack_low =
|
|
1791
|
+
var ___stack_low = 10033856;
|
|
1862
1792
|
|
|
1863
1793
|
var ___stack_pointer = new WebAssembly.Global(
|
|
1864
1794
|
{ value: 'i32', mutable: true },
|
|
1865
|
-
|
|
1795
|
+
11082432
|
|
1866
1796
|
);
|
|
1867
1797
|
|
|
1868
1798
|
var PATH = {
|
|
@@ -19494,6 +19424,75 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19494
19424
|
var __Unwind_FindEnclosingFunction = (ip) => 0;
|
|
19495
19425
|
__Unwind_FindEnclosingFunction.sig = 'pp';
|
|
19496
19426
|
|
|
19427
|
+
class ExceptionInfo {
|
|
19428
|
+
// excPtr - Thrown object pointer to wrap. Metadata pointer is calculated from it.
|
|
19429
|
+
constructor(excPtr) {
|
|
19430
|
+
this.excPtr = excPtr;
|
|
19431
|
+
this.ptr = excPtr - 24;
|
|
19432
|
+
}
|
|
19433
|
+
|
|
19434
|
+
set_type(type) {
|
|
19435
|
+
HEAPU32[(this.ptr + 4) >> 2] = type;
|
|
19436
|
+
}
|
|
19437
|
+
|
|
19438
|
+
get_type() {
|
|
19439
|
+
return HEAPU32[(this.ptr + 4) >> 2];
|
|
19440
|
+
}
|
|
19441
|
+
|
|
19442
|
+
set_destructor(destructor) {
|
|
19443
|
+
HEAPU32[(this.ptr + 8) >> 2] = destructor;
|
|
19444
|
+
}
|
|
19445
|
+
|
|
19446
|
+
get_destructor() {
|
|
19447
|
+
return HEAPU32[(this.ptr + 8) >> 2];
|
|
19448
|
+
}
|
|
19449
|
+
|
|
19450
|
+
set_caught(caught) {
|
|
19451
|
+
caught = caught ? 1 : 0;
|
|
19452
|
+
HEAP8[this.ptr + 12] = caught;
|
|
19453
|
+
}
|
|
19454
|
+
|
|
19455
|
+
get_caught() {
|
|
19456
|
+
return HEAP8[this.ptr + 12] != 0;
|
|
19457
|
+
}
|
|
19458
|
+
|
|
19459
|
+
set_rethrown(rethrown) {
|
|
19460
|
+
rethrown = rethrown ? 1 : 0;
|
|
19461
|
+
HEAP8[this.ptr + 13] = rethrown;
|
|
19462
|
+
}
|
|
19463
|
+
|
|
19464
|
+
get_rethrown() {
|
|
19465
|
+
return HEAP8[this.ptr + 13] != 0;
|
|
19466
|
+
}
|
|
19467
|
+
|
|
19468
|
+
// Initialize native structure fields. Should be called once after allocated.
|
|
19469
|
+
init(type, destructor) {
|
|
19470
|
+
this.set_adjusted_ptr(0);
|
|
19471
|
+
this.set_type(type);
|
|
19472
|
+
this.set_destructor(destructor);
|
|
19473
|
+
}
|
|
19474
|
+
|
|
19475
|
+
set_adjusted_ptr(adjustedPtr) {
|
|
19476
|
+
HEAPU32[(this.ptr + 16) >> 2] = adjustedPtr;
|
|
19477
|
+
}
|
|
19478
|
+
|
|
19479
|
+
get_adjusted_ptr() {
|
|
19480
|
+
return HEAPU32[(this.ptr + 16) >> 2];
|
|
19481
|
+
}
|
|
19482
|
+
}
|
|
19483
|
+
|
|
19484
|
+
var exceptionLast = 0;
|
|
19485
|
+
|
|
19486
|
+
var uncaughtExceptionCount = 0;
|
|
19487
|
+
var ___cxa_throw = (ptr, type, destructor) => {
|
|
19488
|
+
var info = new ExceptionInfo(ptr);
|
|
19489
|
+
// Initialize ExceptionInfo content after it was allocated in __cxa_allocate_exception.
|
|
19490
|
+
info.init(type, destructor);
|
|
19491
|
+
exceptionLast = ptr;
|
|
19492
|
+
uncaughtExceptionCount++;
|
|
19493
|
+
throw exceptionLast;
|
|
19494
|
+
};
|
|
19495
|
+
___cxa_throw.sig = 'vppp';
|
|
19497
19496
|
var __Unwind_RaiseException = (ex) => {
|
|
19498
19497
|
err('Warning: _Unwind_RaiseException is not correctly implemented');
|
|
19499
19498
|
return ___cxa_throw(ex, 0, 0);
|
|
@@ -32100,13 +32099,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
32100
32099
|
// End JS library code
|
|
32101
32100
|
|
|
32102
32101
|
var ASM_CONSTS = {
|
|
32103
|
-
|
|
32102
|
+
9805437: ($0) => {
|
|
32104
32103
|
if (!$0) {
|
|
32105
32104
|
AL.alcErr = 0xa004;
|
|
32106
32105
|
return 1;
|
|
32107
32106
|
}
|
|
32108
32107
|
},
|
|
32109
|
-
|
|
32108
|
+
9805485: ($0) => {
|
|
32110
32109
|
if (!AL.currentCtx) {
|
|
32111
32110
|
err('alGetProcAddress() called without a valid context');
|
|
32112
32111
|
return 1;
|
|
@@ -35136,14 +35135,14 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
35136
35135
|
var _emscripten_stack_get_current = () =>
|
|
35137
35136
|
(_emscripten_stack_get_current =
|
|
35138
35137
|
wasmExports['emscripten_stack_get_current'])();
|
|
35139
|
-
var
|
|
35140
|
-
(
|
|
35141
|
-
wasmExports['__cxa_decrement_exception_refcount'])(a0);
|
|
35138
|
+
var ___cxa_demangle = (a0, a1, a2, a3) =>
|
|
35139
|
+
(___cxa_demangle = wasmExports['__cxa_demangle'])(a0, a1, a2, a3);
|
|
35142
35140
|
var ___cxa_increment_exception_refcount = (a0) =>
|
|
35143
35141
|
(___cxa_increment_exception_refcount =
|
|
35144
35142
|
wasmExports['__cxa_increment_exception_refcount'])(a0);
|
|
35145
|
-
var
|
|
35146
|
-
(
|
|
35143
|
+
var ___cxa_decrement_exception_refcount = (a0) =>
|
|
35144
|
+
(___cxa_decrement_exception_refcount =
|
|
35145
|
+
wasmExports['__cxa_decrement_exception_refcount'])(a0);
|
|
35147
35146
|
var ___cxa_can_catch = (a0, a1, a2) =>
|
|
35148
35147
|
(___cxa_can_catch = wasmExports['__cxa_can_catch'])(a0, a1, a2);
|
|
35149
35148
|
var ___cxa_get_exception_ptr = (a0) =>
|