Alon Zakai
0591fabb67
support for external variables in runtime linking
2011-12-05 17:57:54 -08:00
Alon Zakai
9b37526870
fix test runner breakage after test_runtimeload
2011-12-05 15:43:20 -08:00
Alon Zakai
7ac8be1ba4
disable runtimelink test when using LLVM opts
2011-12-05 15:15:04 -08:00
Alon Zakai
d2f91efe1f
partial support for runtime linking of separately-compiled modules (only functions)
2011-12-05 14:09:46 -08:00
Alon Zakai
1cceacdba9
better sanity checks for configured js engines
2011-12-05 11:05:37 -08:00
Alon Zakai
08e7619a88
sanity check for compiler engine in test runner
2011-12-04 20:44:29 -08:00
Alon Zakai
51fbd38572
fix line numbers with multiple linked files
2011-12-04 18:51:43 -08:00
Alon Zakai
338315cfe9
mark test_exceptions as failing on node
2011-12-04 13:09:53 -08:00
Alon Zakai
0dd6e0f630
tiny cleanup for benchmark code
2011-12-04 10:38:17 -08:00
Alon Zakai
a77d37d3d4
comment
2011-12-04 10:26:13 -08:00
Alon Zakai
556decb19a
fixes for using node as both compiler engine and code running engine. node is now default in settings.py
2011-12-03 20:09:11 -08:00
Alon Zakai
1fbe97bff6
tiny followup for exit code patch for test runner
2011-12-02 20:14:12 -08:00
Alon Zakai
0bea4bec8e
Merge pull request #116 from eclecticdave/master
...
exit() throws uncaught exception
2011-12-02 20:10:19 -08:00
Alon Zakai
b9522ed475
fix poppler test
2011-12-02 17:57:17 -08:00
David Claughton
ca12d620e8
Modify exit() to throw an object and catch it.
...
* Changed exit from throwing an text string to throwing
an Error-derived object encapsulating the exit status.
Then catch it in 'callMain' and return the status.
Enable this functionality by setting CATCH_EXIT_CODE in settings.js
2011-12-03 01:29:44 +00:00
Alon Zakai
49660048bf
refactor compiler to allow future batching of types and globals. move postsets from run() to the toplevel to boost performance and simplify compilation. fix various bugs that were noticed during this
2011-11-30 15:35:51 -08:00
Alon Zakai
74373c27a5
fix test_cases (2)
2011-11-28 16:47:22 -08:00
Alon Zakai
b59dcf1494
fix test_cases
2011-11-28 16:45:43 -08:00
Alon Zakai
1512543df3
partial fix for breakinthemiddle in test_cases
2011-11-28 16:36:24 -08:00
Alon Zakai
d856063686
fix for test_closure_compiler with spidermonkey as compiler engine
2011-11-28 16:28:40 -08:00
Alon Zakai
b61f32f98d
fix for i64 mode 1 conversion of double to i64
2011-11-27 12:45:00 -08:00
Alon Zakai
17ee516bcd
improve benchmark output
2011-11-27 12:29:59 -08:00
Alon Zakai
7505b73a9b
do not recompile just for dfe in test runner
2011-11-27 10:48:06 -08:00
Alon Zakai
fc99702e8e
imporve i64 test
2011-11-26 21:52:01 -08:00
Alon Zakai
81f82a6a0d
fixes for 64-bit values in globals in i64 mode 1
2011-11-26 21:14:00 -08:00
Alon Zakai
17601d8961
refactor a js optimizer pass
2011-11-26 18:59:28 -08:00
Alon Zakai
0d18a1646a
add i16 to corrections benchmark
2011-11-26 13:58:30 -08:00
Alon Zakai
06b58cbbe0
fix for passing structs by value, and warning for unfixable case of passing structs by value between C and C++ calling conventions
2011-11-25 21:19:53 -08:00
Alon Zakai
ebe8a3a0c9
fix varargs calls in function pointers
2011-11-25 13:45:25 -08:00
Alon Zakai
1edc791be8
strengthen (failing) mix_c_cpp test
2011-11-25 10:11:20 -08:00
Alon Zakai
23e1ca79b8
add two failing tests for issue 123
2011-11-25 09:51:02 -08:00
Alon Zakai
a3eac6b430
add floating-point stuff to benchmark_corrections
2011-11-24 20:50:45 -08:00
Alon Zakai
13e604eb6c
rewrite makeRounding to fix a bug
2011-11-24 20:12:17 -08:00
Alon Zakai
d9fc6cfaa2
rename stuff in corrections benchmark
2011-11-24 15:44:56 -08:00
Alon Zakai
2121e4bcb2
add benchmark for corrections
2011-11-24 12:31:28 -08:00
Alon Zakai
8d030228a3
remove all unneeded loop labels
2011-11-23 17:29:20 -08:00
Alon Zakai
561741c27e
simplify !(<) etc. in js optimizer
2011-11-23 13:12:17 -08:00
Alon Zakai
753437a56d
emcc stuff
2011-11-22 21:34:03 -08:00
Alon Zakai
5c2478fda3
test fixes for |other|
2011-11-22 19:04:57 -08:00
Alon Zakai
28291b514b
improve build process for benchmarks, allowing more pass customization
2011-11-22 15:14:37 -08:00
Alon Zakai
290f0e8634
fix i64 comparison bug, and various test fixes
2011-11-21 16:59:37 -08:00
Alon Zakai
6fd223ee4e
comment
2011-11-20 22:35:05 -08:00
Alon Zakai
386dc0fa02
sketch of emcc
2011-11-20 21:02:46 -08:00
Alon Zakai
a6e94183b9
use js optimizer in benchmarks
2011-11-19 22:48:37 -08:00
Alon Zakai
9a004a8fa1
initial work on JS optimizer
2011-11-19 21:38:22 -08:00
Alon Zakai
2f082bce5f
test runner fixes
2011-11-19 13:37:26 -08:00
Alon Zakai
316ac8372e
rename OPTIMIZE to MICRO_OPTS
2011-11-18 10:16:47 -08:00
Alon Zakai
77efd8b757
proper support for sext of i64s in i64 mode 1
2011-11-17 20:28:32 -08:00
Alon Zakai
89b2bf7c19
refactor llvm opts code
2011-11-17 14:44:42 -08:00
Alon Zakai
c300de847b
use clang for native code comparisons, for more valid benchmark results
2011-11-17 11:57:15 -08:00