diff options
| author | Mike Pall <mike> | 2010-02-13 04:51:56 +0100 |
|---|---|---|
| committer | Mike Pall <mike> | 2010-02-13 04:51:56 +0100 |
| commit | c93138b59e8f28b3d412cd7ec0c6631fd27e3e1b (patch) | |
| tree | 8c0ffe2086ab0b032ed8e9f92ae6fb9d4d040d66 /src/Makefile | |
| parent | 4f8d7be8ea8a103f4d9046188d6005740b74f3d4 (diff) | |
| download | luajit-c93138b59e8f28b3d412cd7ec0c6631fd27e3e1b.tar.gz luajit-c93138b59e8f28b3d412cd7ec0c6631fd27e3e1b.tar.bz2 luajit-c93138b59e8f28b3d412cd7ec0c6631fd27e3e1b.zip | |
Major redesign of function call handling.
Drop call gates. Use function headers, dispatched like bytecodes.
Emit BC_FUNCF/BC_FUNCV bytecode at PC 0 for all Lua functions.
C functions and ASM fast functions get extra bytecodes.
Modify internal calling convention: new base in BASE (formerly in RA).
Can now use better C function wrapper semantics (dynamic on/off).
Prerequisite for call hooks with zero-overhead if disabled.
Prerequisite for compiling recursive calls.
Prerequisite for efficient 32/64 bit prototype guards.
Diffstat (limited to 'src/Makefile')
| -rw-r--r-- | src/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile index e3a3fbc2..5fef367a 100644 --- a/src/Makefile +++ b/src/Makefile | |||
| @@ -412,9 +412,9 @@ $(LJVM_BOUT): $(BUILDVM_T) | |||
| 412 | $(E) "BUILDVM $@" | 412 | $(E) "BUILDVM $@" |
| 413 | $(Q)$(BUILDVM_X) -m $(LJVM_MODE) -o $@ | 413 | $(Q)$(BUILDVM_X) -m $(LJVM_MODE) -o $@ |
| 414 | 414 | ||
| 415 | lj_bcdef.h: $(BUILDVM_T) | 415 | lj_bcdef.h: $(BUILDVM_T) $(LJLIB_C) |
| 416 | $(E) "BUILDVM $@" | 416 | $(E) "BUILDVM $@" |
| 417 | $(Q)$(BUILDVM_X) -m bcdef -o $@ | 417 | $(Q)$(BUILDVM_X) -m bcdef -o $@ $(LJLIB_C) |
| 418 | 418 | ||
| 419 | lj_ffdef.h: $(BUILDVM_T) $(LJLIB_C) | 419 | lj_ffdef.h: $(BUILDVM_T) $(LJLIB_C) |
| 420 | $(E) "BUILDVM $@" | 420 | $(E) "BUILDVM $@" |
