-
Notifications
You must be signed in to change notification settings - Fork 24
/
ChangeLog
557 lines (465 loc) · 22.2 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
2009-11-05 Robert G. Jakabosky <[email protected]>
* llvm-lua/CMakeLists.txt, llvm-lua/run_tests.sh, src/ldo.c,
src/lgc.c, src/lgc.h, src/lobject.h, src/lvm.c, src/lzio.h:
Emergency GC fixes.
2009-10-18 Robert G. Jakabosky <[email protected]>
* CMakeLists.txt:
Fixed bug
* AUTHORS, ChangeLog, gen_changelog.sh, llvm-lua/CMakeLists.txt,
llvm-lua/lua-compiler, llvm-lua/lua-compiler.in,
llvm-lua/lua-cross-compiler.in, llvm-lua/lua_compiler.c,
llvm-lua/run_tests.sh:
Added ChangeLog, Improved lua-compiler & lua-cross-compiler.
Added -mcpu option to *-compiler scripts.
Changed -arch to -target option.
Embed the install prefix into lua-compiler so it can find
liblua_main.a
Added gen_changelog.sh script to generate ChangeLog from svn
history.
2009-10-17 Robert G. Jakabosky <[email protected]>
* CMakeLists.txt, README.llvm-lua, src/loadlib.c:
Last commit missed these files.
* llvm-lua/CMakeLists.txt, llvm-lua/Makefile,
llvm-lua/llvm-lua.cpp, llvm-lua/llvm-luac.cpp,
llvm-lua/lua-compiler, llvm-lua/lua_compiler.c:
Added support for preloading libraries during static compilling.
Updated README.llvm-lua file.
Improved lua-compilers argument parsing.
Now it is possible to static compile multiple Lua scripts and
there required sub-scripts into one standalone executable.
2009-10-15 Robert G. Jakabosky <[email protected]>
* llvm-lua/compile_all.sh:
Wrong compiler in compile_all.sh.
* cmake/CustomMacros.cmake, llvm-lua/CMakeLists.txt,
llvm-lua/compile_all.sh, llvm-lua/lua-compiler,
llvm-lua/lua-cross-compiler.in, llvm-lua/lua_core.h,
llvm-lua/lua_vm_ops.c, src/ldo.c:
Fixed bugs. Improved cross-compiler support.
* src/lcoco.c, src/lcoco.h:
Update LuaCoco patch to 1.1.6
2009-10-14 Robert G. Jakabosky <[email protected]>
* CMakeLists.txt, llvm-lua/CMakeLists.txt,
llvm-lua/lua-cross-compiler.in:
Adding cross-compiler support to CMake build scripts.
2009-10-07 Robert G. Jakabosky <[email protected]>
* .svnignore, CMakeLists.txt, cmake_uninstall.cmake.in,
llvm-lua/CMakeLists.txt, llvm-lua/load_jit_proto.c,
llvm-lua/lua_core.c, llvm-lua/lua_vm_ops_static.c, src/loadlib.c,
src/lobject.h, src/lstate.h, src/ltable.c, src/luaconf.h:
Added MacOSX framework support.
2009-09-27 Robert G. Jakabosky <[email protected]>
* llvm-lua/CMakeLists.txt:
Remove duplicate source files
* CMakeLists.txt, llvm-lua/CMakeLists.txt:
Added lua-compiler to CMake build.
* CMakeLists.txt, cmake, cmake/CustomMacros.cmake,
cmake/FindLLVM.cmake, llvm-lua/CMakeLists.txt, llvm-lua/Makefile:
Add CMake build scripts.
2009-09-23 Robert G. Jakabosky <[email protected]>
* llvm-lua/LLVMCompiler.cpp, llvm-lua/Makefile,
llvm-lua/hook_parser.c, llvm-lua/llvm-lua.cpp,
llvm-lua/llvm_lmathlib.c, llvm-lua/lua_vm_ops.c,
llvm-lua/lua_vm_ops_static.c, llvm-lua/tests/coroutine.lua,
llvm-lua/tests/test_lineerror.lua, llvm-lua/tests/test_tail.lua,
llvm-lua/tests/test_tail_nil_multret.lua, src/lauxlib.c,
src/ldo.c, src/lvm.c:
Fixed memory leak, tailcalls, memlimit.
Release LLVM Function objects when Lua Proto's are garbage
collected.
Fixed a few of tailcall bugs.
Fixed a bug with the memlimit code.
Improved command line option parsing.
Added hack for iPhone support.
2009-09-22 Robert G. Jakabosky <[email protected]>
* llvm-lua/tests/test_varg_tail2.lua:
Add testcase: tailcall from varg function.
* llvm-lua/lua_vm_ops_static.c, src/ldo.c:
Fixed tailcall inside varg function bug.
2009-09-18 Robert G. Jakabosky <[email protected]>
* llvm-lua/LLVMCompiler.cpp, llvm-lua/LLVMCompiler.h,
llvm-lua/Makefile, llvm-lua/llvm-lua.cpp, llvm-lua/llvm-luac.cpp,
llvm-lua/llvm_compiler.cpp:
Fixed memory leaks and a memory access error.
2009-09-17 Robert G. Jakabosky <[email protected]>
* llvm-lua/Makefile, llvm-lua/compile_all.sh,
llvm-lua/load_jit_proto.c, llvm-lua/lua-compiler:
Improved cross-compiling support.
* llvm-lua/LLVMDumper.cpp, llvm-lua/LLVMDumper.h,
llvm-lua/load_jit_proto.c, llvm-lua/load_jit_proto.h:
Made jit_proto & constant_type structures more portable.
Added correct amount of padding for target architecture.
2009-09-16 Robert G. Jakabosky <[email protected]>
* llvm-lua/llvm-luac.cpp:
Adding support for all native backends to llvm-luac.
* README.llvm-lua, etc/embed_jit.c, etc/embed_jit.cpp:
Added example 'embed_jit.c' & 'embed_jit.cpp' files.
* llvm-lua/llvm_compiler.cpp:
Fixed bug with native target initialization.
* llvm-lua/lua-compiler:
Add better support for -arch flag
* llvm-lua/lua-compiler:
Removed debug messages.
* llvm-lua/LLVMCompiler.cpp, llvm-lua/lua-compiler:
Added support for compiling static lua-modules.
* llvm-lua/lua-compiler:
Removed unneeded "-rdynamic -Wl,-E" from 'lua-compiler' script.
2009-09-15 Robert G. Jakabosky <[email protected]>
* llvm-lua/LLVMCompiler.cpp, llvm-lua/LLVMCompiler.h,
llvm-lua/LLVMDumper.cpp, llvm-lua/LLVMDumper.h,
llvm-lua/Makefile, llvm-lua/llvm_compiler.cpp,
llvm-lua/load_embedded_bc.cpp, llvm-lua/load_embedded_bc.h,
llvm-lua/load_liblua_main.cpp, llvm-lua/load_liblua_main.h,
llvm-lua/load_vm_ops.cpp, llvm-lua/load_vm_ops.h, src/lcode.c,
src/ldblib.c, src/lvm.c:
Ported code to LLVM 2.6 API.
Applied patches for Lua 5.1.4:
3. Wrong code generation for some particular boolean expressions
4. luaV_settable may invalidate a reference to a table and try to
reuse it.
5. debug.getfenv does not check whether it has an argument.
2009-06-16 Robert G. Jakabosky <[email protected]>
* llvm-lua/Makefile:
Fixing MinGW support.
2009-06-07 Robert G. Jakabosky <[email protected]>
* Makefile, llvm-lua/Makefile:
Add support for compiling shared library liblua-llvm.so
2009-06-04 Robert G. Jakabosky <[email protected]>
* llvm-lua/lua-compiler:
Fixed bug with lua-compiler.
Added '-c++' option for static compiling Lua code with C++
exception support.
* README.llvm-lua, llvm-lua/LLVMCompiler.cpp,
llvm-lua/LLVMCompiler.h, llvm-lua/LLVMDumper.cpp,
llvm-lua/LLVMDumper.h, llvm-lua/Makefile, llvm-lua/TODO,
llvm-lua/hook_parser.c, llvm-lua/llvm-lua.cpp,
llvm-lua/llvm-lua.h, llvm-lua/llvm-luac.cpp,
llvm-lua/llvm-luac.h, llvm-lua/llvm_compiler.cpp,
llvm-lua/llvm_compiler.h, llvm-lua/llvm_compiler_private.h,
llvm-lua/llvm_dumper.cpp, llvm-lua/llvm_dumper.h,
llvm-lua/llvm_lmathlib.c, llvm-lua/load_embedded_bc.cpp,
llvm-lua/load_embedded_bc.h, llvm-lua/load_jit_proto.c,
llvm-lua/load_jit_proto.h, llvm-lua/load_liblua_main.cpp,
llvm-lua/load_liblua_main.h, llvm-lua/load_vm_ops.cpp,
llvm-lua/load_vm_ops.h, llvm-lua/lua-compiler,
llvm-lua/lua_compiler.c, llvm-lua/lua_core.c,
llvm-lua/lua_core.h, llvm-lua/lua_interpreter.c,
llvm-lua/lua_main.c, llvm-lua/lua_normal.c,
llvm-lua/lua_vm_ops.c, llvm-lua/lua_vm_ops.h,
llvm-lua/lua_vm_ops_static.c, llvm-lua/no_jit.c, src/lcoco.h,
src/ldebug.c, src/ldebug.h, src/lstate.c, src/lstate.h,
src/luaconf.h, src/lvm.c, src/print.c:
Add C++ exception support. llvm-lua is now thread-safe.
Moved LLVMCompiler instance from global variable to
'global_State'
to help make llvm-lua thread-safe.
2009-05-31 Robert G. Jakabosky <[email protected]>
* README.llvm-lua, llvm-lua/lua-compiler:
Fixed bug with lua-compiler script and the 'cbe' mode.
Fixed example compile/link commands in README.llvm-lua.
* README.llvm-lua, llvm-lua/Makefile, llvm-lua/compile_all.sh,
llvm-lua/llvm_compiler.cpp, llvm-lua/llvm_compiler.h,
llvm-lua/lua-compiler:
Bump version to 1.0.
Add for information to README.llvm-lua
Fixed some bugs with embedding llvm-lua.
Added -help option to lua-compiler script.
2009-05-30 Robert G. Jakabosky <[email protected]>
* llvm-lua/tests, llvm-lua/tests/NOTES, llvm-lua/tests/add.lua,
llvm-lua/tests/arg_test.lua, llvm-lua/tests/big_table.lua,
llvm-lua/tests/dump.lua, llvm-lua/tests/for.lua,
llvm-lua/tests/hash2.lua, llvm-lua/tests/loadk.lua,
llvm-lua/tests/local_nil.lua, llvm-lua/tests/loops.lua,
llvm-lua/tests/lua_tail.lua, llvm-lua/tests/nestedloop.lua,
llvm-lua/tests/nestedloop2.lua, llvm-lua/tests/nums.lua,
llvm-lua/tests/scimark_loop.lua, llvm-lua/tests/scimark_rand.lua,
llvm-lua/tests/stress_for.lua, llvm-lua/tests/test.lua,
llvm-lua/tests/test2.lua, llvm-lua/tests/test3.lua,
llvm-lua/tests/test4.lua, llvm-lua/tests/test_math.lua,
llvm-lua/tests/test_tail.lua:
Added lua scripts used for regression testing.
* llvm-lua/LLVMCompiler.cpp, llvm-lua/TODO,
llvm-lua/llvm_lmathlib.c, llvm-lua/lua_core.c, src/lauxlib.c,
src/lauxlib.h, src/ldo.c:
Improved speed of math.* functions by lowering the call overhead.
2009-05-28 Robert G. Jakabosky <[email protected]>
* llvm-lua/LLVMCompiler.cpp:
Fixed some bugs with numeric forloop optimizations.
2009-05-24 Robert G. Jakabosky <[email protected]>
* llvm-lua/LLVMCompiler.cpp, llvm-lua/LLVMCompiler.h,
llvm-lua/TODO, llvm-lua/lua-compiler, llvm-lua/lua_vm_ops.c,
llvm-lua/lua_vm_ops.h, llvm-lua/lua_vm_ops_static.c, src/ldo.c:
Improved performance of numeric for loops.
2009-05-21 Robert G. Jakabosky <[email protected]>
* llvm-lua/LLVMCompiler.cpp, llvm-lua/LLVMCompiler.h,
llvm-lua/llvm_dumper.cpp, llvm-lua/llvm_dumper.h,
llvm-lua/lua_compiler.c, llvm-lua/lua_vm_ops.c,
llvm-lua/lua_vm_ops.h, llvm-lua/lua_vm_ops_static.c,
llvm-lua/no_jit.c:
Added some optimizations.
Fixed a few bugs.
2009-05-20 Robert G. Jakabosky <[email protected]>
* Makefile, llvm-lua/LLVMDumper.cpp, llvm-lua/Makefile,
llvm-lua/compile_all.sh, llvm-lua/lua-compiler,
llvm-lua/lua_compiler.c:
Fixed support for using c-backend to compile Lua scripts to
standalone binaries.
* Makefile, llvm-lua/Makefile, llvm-lua/compile.sh,
llvm-lua/compile_all.sh, llvm-lua/llvm_compiler.h,
llvm-lua/lua-compiler:
Bump version number to 0.9
Cleaned up Makefile.
Renamed llvm-luac wrapper script from compile.sh to lua-compiler.
* Makefile, README.llvm-lua, llvm-lua/LLVMDumper.cpp,
llvm-lua/Makefile, llvm-lua/bin2c.c, llvm-lua/compile.sh,
llvm-lua/llvm_compiler.cpp, llvm-lua/llvm_compiler.h,
llvm-lua/llvm_dumper.cpp, llvm-lua/llvm_dumper.h,
llvm-lua/load_embedded_bc.cpp, llvm-lua/load_embedded_bc.h,
llvm-lua/load_liblua_main.cpp, llvm-lua/load_liblua_main.h,
llvm-lua/load_vm_ops.cpp, llvm-lua/lua_vm_ops_module.cpp,
llvm-lua/lua_vm_ops_module.h:
Embedded lua_vm_ops.bc & liblua_main.bc instead of
loading/linking them at run-time.
2009-05-19 Robert G. Jakabosky <[email protected]>
* Makefile, llvm-lua/LLVMCompiler.cpp, llvm-lua/LLVMCompiler.h,
llvm-lua/LLVMDumper.cpp, llvm-lua/LLVMDumper.h,
llvm-lua/Makefile, llvm-lua/TODO, llvm-lua/compile.sh,
llvm-lua/hook_parser.c, llvm-lua/load_jit_proto.c,
llvm-lua/load_jit_proto.h, llvm-lua/lua_main.c,
llvm-lua/lua_vm_ops.c, llvm-lua/lua_vm_ops.h,
llvm-lua/lua_vm_ops_static.c, llvm-lua/no_jit.c, src/ldo.c,
src/luaconf.h:
Fixed bugs with debug hooks.
Added line/upvalues/locals info to jit_proto, to support
debugging info of JITed code.
Allow debuging info be stripped when compling Lua scripts.
2009-05-17 Robert G. Jakabosky <[email protected]>
* Makefile, etc/lua.pc, llvm-lua/LLVMCompiler.cpp,
llvm-lua/compile.sh, llvm-lua/load_vm_ops.cpp, src/ldebug.c:
Fixed compile bug.
Fixed lua debug libraries handling of JIT functions that have Lua
bytecode stripped.
2009-03-12 Robert G. Jakabosky <[email protected]>
* llvm-lua/LLVMCompiler.cpp, llvm-lua/LLVMCompiler.h,
llvm-lua/LLVMDumper.cpp, llvm-lua/LLVMDumper.h,
llvm-lua/Makefile, llvm-lua/TODO, llvm-lua/compile.sh,
llvm-lua/compile_all.sh, llvm-lua/compile_bc.sh,
llvm-lua/compile_c.sh, llvm-lua/hook_parser.c,
llvm-lua/llvm-lua.cpp, llvm-lua/llvm-luac.cpp,
llvm-lua/llvm_compiler.cpp, llvm-lua/llvm_compiler.h,
llvm-lua/load_jit_proto.c, llvm-lua/load_jit_proto.h,
llvm-lua/lua_compiler.c, llvm-lua/lua_core.c,
llvm-lua/lua_main.c, llvm-lua/lua_vm_ops.h,
llvm-lua/lua_vm_ops_static.c:
Added support for stripping Lua opcodes from compiled Lua code
(can be used for obfucation).
Added support for compiling Lua code as native code modules
instead of just standalone binaries.
Added support for compiling llvm-lua as an embeddable library
with JIT support.
Improved compile.sh wrapper script.
2009-03-06 Robert G. Jakabosky <[email protected]>
* llvm-lua/Makefile, llvm-lua/lua_vm_ops.c, src/lvm.c:
Fixed bug with Lua stack re-allocation.
2009-01-22 Robert G. Jakabosky <[email protected]>
* llvm-lua/Makefile, llvm-lua/compile_c.sh, llvm-lua/llvm-lua.cpp,
llvm-lua/llvm-luac.cpp:
fixed bug with llvm asserts.
Added bash script for compiling lua scripts to C code.
2008-10-09 Robert G. Jakabosky <[email protected]>
* llvm-lua/Makefile, llvm-lua/compile.sh, llvm-lua/compile_all.sh,
llvm-lua/compile_bc.sh:
compile llvm bitcode to assembly instead of 'C' code.
2008-10-08 Robert G. Jakabosky <[email protected]>
* llvm-lua/Makefile, llvm-lua/compile.sh:
remove '-foptimize-sibling-calls'
disabled '-march=athlon64'
* llvm-lua/llvm_compiler.h:
bump version to 0.5
* src/ldo.h:
Added 'PCRTAILRECUR' for tail-recursive calls from JIT functions.
* llvm-lua/LLVMCompiler.cpp, llvm-lua/compile.sh,
llvm-lua/hook_parser.c, llvm-lua/llvm-lua.cpp,
llvm-lua/llvm-luac.cpp, llvm-lua/llvm_compiler.cpp,
llvm-lua/lua_vm_ops.c, llvm-lua/lua_vm_ops_static.c:
Fixed memory offset bug & memory leaks.
Fixed '-time-passes' to display info about passes run by JIT.
Changed default Optimization level to '3'.
2008-10-07 Robert G. Jakabosky <[email protected]>
* llvm-lua/LLVMCompiler.cpp, llvm-lua/LLVMCompiler.h,
llvm-lua/LLVMDumper.cpp, llvm-lua/LLVMDumper.h, llvm-lua/TODO,
llvm-lua/compile.sh, llvm-lua/hook_parser.c,
llvm-lua/llvm-lua.cpp, llvm-lua/llvm-luac.cpp,
llvm-lua/llvm_compiler.cpp, llvm-lua/llvm_compiler.h,
llvm-lua/lua_compiler.c, llvm-lua/lua_main.c,
llvm-lua/lua_vm_ops.c, llvm-lua/lua_vm_ops.h,
llvm-lua/lua_vm_ops_static.c:
Added specialized functions for OP_EQ.
Added support to Lower for loop's internal idx variable from the
Lua stack to the c-stack.
Added support to remove "LOADK" opcodes used for constant for
loop parameters and turn then into llvm constants.
Added command-line options for controlling the optimization
level.
Fixed bug with passing command-line options to the Lua core
interpreter & compiler.
2008-10-05 Robert G. Jakabosky <[email protected]>
* llvm-lua/LLVMCompiler.cpp, llvm-lua/LLVMDumper.cpp,
llvm-lua/lua_vm_ops_static.c:
Fixed a few bugs.
Improved tail-calls from JIT function to non-JIT Lua function.
* llvm-lua/LLVMCompiler.cpp, llvm-lua/TODO, llvm-lua/llvm-lua.cpp,
llvm-lua/llvm-luac.cpp, llvm-lua/llvm_compiler.h:
Added LLVM command options to llvm-luac.
Don't compiled inlined opcode functions, since they will not be
called.
* llvm-lua/LLVMCompiler.cpp, llvm-lua/LLVMCompiler.h,
llvm-lua/LLVMDumper.cpp, llvm-lua/Makefile, llvm-lua/compile.sh,
llvm-lua/hook_parser.c, llvm-lua/lua_vm_ops.c,
llvm-lua/lua_vm_ops.h, llvm-lua/lua_vm_ops_static.c, src/ldo.c,
src/ldo.h:
Fixed tail-call support, now lua scripts can make tail-calls
without the c-stack/lua callstack growing.
Added some optimizations of the Lua bytecode and generated
machine code.
Lowered the opcode limit from 800 down to 200 for the max
function size that is JITed.
Added support for specialized versions of each opcode function to
support more optimizations.
2008-10-03 Robert G. Jakabosky <[email protected]>
* llvm-lua/lua_vm_ops.h, llvm-lua/lua_vm_ops_static.c:
remove unused argument.
* llvm-lua/LLVMDumper.cpp, llvm-lua/LLVMDumper.h,
llvm-lua/load_jit_proto.h, llvm-lua/lua_main.c:
Fixed 32bit support for static compiling Lua scripts.
* Makefile, README.llvm-lua, llvm-lua/Makefile:
Improve Makefile support for other platforms.
* llvm-lua/LLVMCompiler.cpp, llvm-lua/LLVMCompiler.h,
llvm-lua/Makefile, llvm-lua/compile.sh, llvm-lua/compile_bc.sh,
llvm-lua/hook_parser.c, llvm-lua/llvm_compiler.cpp,
llvm-lua/llvm_compiler.h, llvm-lua/lua_core.c,
llvm-lua/lua_vm_ops.c, llvm-lua/lua_vm_ops.h,
llvm-lua/lua_vm_ops_static.c:
Improved true tailcall support when calling a JIT/C function from
a JIT function.
Removed 'func_state' structure from JIT functions to allow
tailcalls into vm_OP_* functions.
* src/ldo.c, src/ldo.h, src/luaconf.h:
Export 'tryfuncTM' function as 'luaD_tryfuncTM' from ldo.c
disable HARDSTACKTESTS tests.
2008-09-29 Robert G. Jakabosky <[email protected]>
* llvm-lua/LLVMCompiler.cpp, llvm-lua/LLVMCompiler.h,
llvm-lua/Makefile, llvm-lua/compile.sh, llvm-lua/lua_compiler.h,
llvm-lua/lua_core.c, llvm-lua/lua_core.h, llvm-lua/lua_vm_ops.c,
llvm-lua/lua_vm_ops.h, llvm-lua/lua_vm_ops_module.cpp,
llvm-lua/lua_vm_ops_static.c:
Moved some large vm_OP_* functions from loadable bitcode file
into llvm-lua.
Added LLVM timers to compiler.
Added support for LLVM command line options.
Some code clean up.
2008-09-28 Robert G. Jakabosky <[email protected]>
* llvm-lua/lua_vm_ops_module.cpp:
fixed compile bug.
2008-09-27 Robert G. Jakabosky <[email protected]>
* llvm-lua/LLVMCompiler.cpp, llvm-lua/llvm-lua.cpp:
Add command line parsing support for LLVM options.
* llvm-lua/load_vm_ops.cpp:
search current directory & LLVM_LIB_SEARCH_PATH for lua_vm_ops.bc
file.
* llvm-lua/LLVMCompiler.cpp, llvm-lua/LLVMCompiler.h,
llvm-lua/LLVMDumper.cpp, llvm-lua/LLVMDumper.h,
llvm-lua/Makefile, llvm-lua/compile.sh, llvm-lua/hook_parser.c,
llvm-lua/llvm-compiler.cpp, llvm-lua/llvm-compiler.h,
llvm-lua/llvm-lua.cpp, llvm-lua/llvm-luac.cpp,
llvm-lua/llvm_compiler.cpp, llvm-lua/llvm_compiler.h,
llvm-lua/load_jit_proto.c, llvm-lua/load_vm_ops.cpp,
llvm-lua/load_vm_ops.h, llvm-lua/lua_compiler.c,
llvm-lua/lua_core.c, llvm-lua/lua_main.c, llvm-lua/lua_vm_ops.c,
llvm-lua/lua_vm_ops_module.cpp, llvm-lua/lua_vm_ops_module.h:
Added a new way to load the lua_vm_ops.bc by compiling it into
C++ LLVM API calls and embedding it into the llvm-lua & llvm-luac
programs.
Re-factored Lua bytecode to LLVM IR compiler code into two
classes LLVMCompiler & LLVMDumper.
Fixed some other bugs.
2008-09-23 Robert G. Jakabosky <[email protected]>
* src/lcoco.c:
Mac OS X 64bit fix from Mike Pall
2008-09-19 Robert G. Jakabosky <[email protected]>
* Makefile, doc/manual.html, doc/readme.html, etc/lua.pc,
src/lapi.c, src/loadlib.c, src/lobject.h, src/lstrlib.c,
src/lua.h:
Update to Official Lua-5.1.4
2008-08-30 Robert G. Jakabosky <[email protected]>
* src/lcoco.c:
Changed from using %rbp & %rbx to %r12 & %r13 for wrap function.
* llvm-lua/lua_vm_ops.c, src/lvm.c, src/lvm.h:
Fixed support for line/count debug hooks.
* src/lcoco.c:
Added wrap function to set register %rdi (to lua_State *) on
first resume of a coroutine, instead of very resume/yield.
2008-08-28 Robert G. Jakabosky <[email protected]>
* llvm-lua/Makefile, llvm-lua/llvm-compiler.cpp:
Patch from "Kay Ropke" fixes bug with compiling on OS X with the
latest LLVM revision(55456).
2008-08-27 Robert G. Jakabosky <[email protected]>
* llvm-lua/llvm-compiler.cpp, llvm-lua/load_jit_proto.h:
fixed bug with boolean constants when static compiling Lua
scripts.
2008-08-26 Robert G. Jakabosky <[email protected]>
* llvm-lua/compile_all.sh:
add message
2008-08-25 Robert G. Jakabosky <[email protected]>
* llvm-lua/Makefile, llvm-lua/compile.sh, llvm-lua/compile_all.sh,
llvm-lua/hook_parser.c, llvm-lua/llvm-compiler.cpp,
llvm-lua/lua_vm_ops.c:
Fixed bugs with calling non-JITed Lua functions.
Manually inline opcode functions instead of using the inliner
pass.
Code cleanup.
2008-08-23 Robert G. Jakabosky <[email protected]>
* src/lcoco.c:
fixed bug with assembly coco_switcher for x86_64.
* src/Makefile, src/lcoco.c:
Added added assembly ctx_switcher for x86_64-linux to LuaCoco.
* .svnignore, COPYRIGHT, HISTORY, INSTALL, Makefile, README,
README.llvm-lua, doc, doc/amazon.gif, doc/contents.html,
doc/cover.png, doc/logo.gif, doc/lua.1, doc/lua.css,
doc/lua.html, doc/luac.1, doc/luac.html, doc/manual.css,
doc/manual.html, doc/readme.html, etc, etc/Makefile, etc/README,
etc/all.c, etc/lua.hpp, etc/lua.ico, etc/lua.pc, etc/luavs.bat,
etc/min.c, etc/noparser.c, etc/strict.lua, llvm-lua,
llvm-lua/COPYRIGHT.llvm-lua, llvm-lua/Makefile,
llvm-lua/compile.sh, llvm-lua/hook_parser.c,
llvm-lua/llvm-compiler.cpp, llvm-lua/llvm-compiler.h,
llvm-lua/llvm-lua.cpp, llvm-lua/llvm-lua.h,
llvm-lua/llvm-luac.cpp, llvm-lua/llvm-luac.h,
llvm-lua/load_jit_proto.c, llvm-lua/load_jit_proto.h,
llvm-lua/lua_compiler.c, llvm-lua/lua_compiler.h,
llvm-lua/lua_core.c, llvm-lua/lua_core.h,
llvm-lua/lua_interpreter.c, llvm-lua/lua_interpreter.h,
llvm-lua/lua_main.c, llvm-lua/lua_normal.c,
llvm-lua/lua_vm_ops.c, llvm-lua/lua_vm_ops.h, src, src/Makefile,
src/lapi.c, src/lapi.h, src/lauxlib.c, src/lauxlib.h,
src/lbaselib.c, src/lcoco.c, src/lcoco.h, src/lcode.c,
src/lcode.h, src/ldblib.c, src/ldebug.c, src/ldebug.h, src/ldo.c,
src/ldo.h, src/ldump.c, src/lfunc.c, src/lfunc.h, src/lgc.c,
src/lgc.h, src/linit.c, src/liolib.c, src/llex.c, src/llex.h,
src/llimits.h, src/lmathlib.c, src/lmem.c, src/lmem.h,
src/loadlib.c, src/lobject.c, src/lobject.h, src/lopcodes.c,
src/lopcodes.h, src/loslib.c, src/lparser.c, src/lparser.h,
src/lstate.c, src/lstate.h, src/lstring.c, src/lstring.h,
src/lstrlib.c, src/ltable.c, src/ltable.h, src/ltablib.c,
src/ltm.c, src/ltm.h, src/lua.c, src/lua.h, src/luac.c,
src/luaconf.h, src/lualib.h, src/lundump.c, src/lundump.h,
src/lvm.c, src/lvm.h, src/lzio.c, src/lzio.h, src/print.c, test,
test/README, test/bisect.lua, test/cf.lua, test/echo.lua,
test/env.lua, test/factorial.lua, test/fib.lua, test/fibfor.lua,
test/globals.lua, test/hello.lua, test/life.lua, test/luac.lua,
test/printf.lua, test/readonly.lua, test/sieve.lua,
test/sort.lua, test/table.lua, test/trace-calls.lua,
test/trace-globals.lua, test/xd.lua:
Initial 0.1 release
2008-08-23
* .:
Initial directory structure.