Alon Zakai
|
8f55ac7657
|
fix stackAlloc notation
|
2012-12-13 10:51:43 -08:00 |
Alon Zakai
|
530ec7ca09
|
missing coercion in stackAlloc
|
2012-12-12 16:56:41 -08:00 |
Alon Zakai
|
8f42941647
|
support for Math.imul
|
2012-12-12 16:38:58 -08:00 |
Alon Zakai
|
b7736cf61e
|
coerce asm global var imports
|
2012-12-12 16:12:50 -08:00 |
Alon Zakai
|
c83b1d4e9e
|
Merge branch 'incoming' into asm_js
|
2012-12-11 14:01:06 -08:00 |
Alon Zakai
|
6c80e7593c
|
ignore llvm.module metadata
|
2012-12-10 16:40:47 -08:00 |
Alon Zakai
|
cc3d094151
|
emit function table mask in dynCall defs
|
2012-12-07 17:19:48 -08:00 |
Alon Zakai
|
b7de9da3a4
|
fill in all the function table holes
|
2012-12-07 17:17:55 -08:00 |
Alon Zakai
|
ea803456f8
|
fix bug in function table filling
|
2012-12-07 17:05:48 -08:00 |
Alon Zakai
|
b832e0985b
|
warn instead of failing if a function table is used without functions of its signature existing
|
2012-12-07 17:02:17 -08:00 |
Alon Zakai
|
ddcf4db713
|
fill function tables with error functions in empty slots
|
2012-12-07 16:38:35 -08:00 |
Alon Zakai
|
153638d05a
|
set asm function table sizes to power of two, and add proper masking
|
2012-12-07 16:19:54 -08:00 |
Alon Zakai
|
8129e120ed
|
emit asm coercions on returns
|
2012-12-07 15:51:06 -08:00 |
Alon Zakai
|
92a1c1e242
|
forward in Math_* from Math.* and correct the compiled code to align to that
|
2012-12-07 15:10:36 -08:00 |
Alon Zakai
|
c51a379ec1
|
forward clearing of __THREW__ to asm
|
2012-12-07 14:23:24 -08:00 |
Alon Zakai
|
f3a52489d4
|
add undef to asm
|
2012-12-07 14:23:24 -08:00 |
Alon Zakai
|
b470b15e4c
|
define __THREW__ for asm
|
2012-12-07 14:23:24 -08:00 |
Alon Zakai
|
9fcc17f156
|
asm glue for tempRet*
|
2012-12-07 14:23:24 -08:00 |
Alon Zakai
|
c027f5d2af
|
add missing sign parameter to i64 divide and modulo
|
2012-12-07 14:23:22 -08:00 |
Alon Zakai
|
1189e117b7
|
improve asm test wrapping
|
2012-12-07 14:23:22 -08:00 |
Alon Zakai
|
f9e3b6eed3
|
take into account legalization of i64s into i32s in function signatures
|
2012-12-07 14:23:22 -08:00 |
Alon Zakai
|
c507a8cf49
|
64-bit dynamic shifts in asm
|
2012-12-07 14:23:22 -08:00 |
Alon Zakai
|
74c843c55f
|
i64Math in asm
|
2012-12-07 14:23:22 -08:00 |
Alon Zakai
|
b4d6f40305
|
export dynCall functions from asm, not raw function tables
|
2012-12-07 14:23:21 -08:00 |
Alon Zakai
|
eb66a7f218
|
only forward GLOBAL_BASE when needed
|
2012-12-07 14:23:21 -08:00 |
Alon Zakai
|
c854ced309
|
forward GLOBAL_BASE to asm
|
2012-12-07 14:23:21 -08:00 |
Alon Zakai
|
b6b3d43b61
|
forward ABORT to asm
|
2012-12-07 14:23:21 -08:00 |
Alon Zakai
|
2617ac81a9
|
commented out preparation for more runtime forwarding into asm
|
2012-12-07 14:23:21 -08:00 |
Alon Zakai
|
b8e8298f3d
|
fix testing closure
|
2012-12-07 14:23:21 -08:00 |
Alon Zakai
|
518597ee2b
|
expose tempDoublePtr to asm
|
2012-12-07 14:23:21 -08:00 |
Alon Zakai
|
41359b3568
|
move stack manipulation into asm
|
2012-12-07 14:23:21 -08:00 |
Alon Zakai
|
60a3fd1bcd
|
enclose asm.js to prevent Function code from seeing the global scope, for testing purposes
|
2012-12-07 14:23:21 -08:00 |
Alon Zakai
|
5ff4af4293
|
use toSource on asm module to prevent access outside the module for testing purposes
|
2012-12-07 14:23:21 -08:00 |
Alon Zakai
|
e078423315
|
do not pass globals into asm when they are unnamed
|
2012-12-07 14:23:20 -08:00 |
Alon Zakai
|
f80d277fd8
|
fix ctors crash
|
2012-12-07 14:23:20 -08:00 |
Alon Zakai
|
e944bb4580
|
export global constructors from asm.js and get them dynamically in the outside scope
|
2012-12-07 14:23:20 -08:00 |
Alon Zakai
|
80ef086309
|
send abort and assert to asm
|
2012-12-07 14:23:19 -08:00 |
Alon Zakai
|
861346ff36
|
global vars in asm.js module
|
2012-12-07 14:23:19 -08:00 |
Alon Zakai
|
90288fb4ad
|
export function tables
|
2012-12-07 14:23:19 -08:00 |
Alon Zakai
|
19d06326b6
|
move asm.js function tables into asm
|
2012-12-07 14:23:19 -08:00 |
Alon Zakai
|
ed00768f16
|
put library signatures in separate storage instead of reusing libraryFunctions
|
2012-12-07 14:23:19 -08:00 |
Alon Zakai
|
709d9bf788
|
export asm.js exports to outside scope
|
2012-12-07 14:23:19 -08:00 |
Alon Zakai
|
98e48e462b
|
function table fixes
|
2012-12-07 14:23:18 -08:00 |
Alon Zakai
|
26e9eba5aa
|
generate separate type-specific function tables
|
2012-12-07 14:23:18 -08:00 |
Alon Zakai
|
df6018759a
|
add asm imports and exports, hello world works
|
2012-12-07 14:23:18 -08:00 |
Alon Zakai
|
6cf30ed095
|
export is reserved
|
2012-12-07 14:23:18 -08:00 |
Alon Zakai
|
f243434a3e
|
export implementedFunctions when necessary for asm.js
|
2012-12-07 14:23:18 -08:00 |
Alon Zakai
|
ec66ae0de4
|
only export asm functions from asm, not library functions
|
2012-12-07 14:23:18 -08:00 |
Alon Zakai
|
3c38471a75
|
work towards exports
|
2012-12-07 14:23:18 -08:00 |
Alon Zakai
|
2e28a4acfa
|
remove irrelevant code from asm module
|
2012-12-07 14:23:18 -08:00 |