56 Commits (d509ac25f9f387c5690126c49893d3da142971c2)

Author SHA1 Message Date
Damien George d509ac25f9 py: Fix stack access in thumb native emitter.
9 years ago
Damien George a32c1e41cc py: Improve native emitter; now supports more opcodes.
9 years ago
Damien George 36db6bcf54 py, compiler: Improve passes; add an extra pass for native emitter.
9 years ago
Damien George 04b9147e15 Add license header to (almost) all files.
9 years ago
Damien George 968bf34c4c py: Remove unnecessary LOAD_CONST_ID bytecode.
9 years ago
Damien George 2827d62e8b py: Implement keyword-only args.
9 years ago
Damien George 5f6a25fc50 py: Wrap #if's around emitter functions that are used only by emitcpy.
9 years ago
Damien George 3558f62fb5 py: Making closures now passes pointer to stack, not a tuple for vars.
9 years ago
Damien George 729f7b42d6 py: Merge BINARY_OP_SUBSCR and store_subscr (w/ delete) into subscr.
9 years ago
Damien George df8127a17e py: Remove unique_codes from emitglue.c. Replace with pointers.
9 years ago
Damien George 8721087661 py: Big improvements to inline assembler.
9 years ago
Damien George a26dc50968 py: Improve inline assembler; improve compiler constant folding.
9 years ago
Damien George d66ae18640 py: Simplify stack get/set to become stack adjust in emitters.
9 years ago
Damien George 6f355fd3b9 py: Make labels unsigned ints (converted from int).
9 years ago
Damien George 2bf7c09222 py: Properly implement deletion of locals and derefs, and detect errors.
9 years ago
Damien George 922ddd6415 py, compile: Combine have_star_arg, have_dbl_star_arg into star_flags.
9 years ago
Damien George 78035b995f py, compiler: Clean up and compress scope/compile structures.
9 years ago
Damien George cdd96dff2c py: Implement more features in native emitter.
9 years ago
Damien George 882b363564 py: Move to Python 3.4.0 compatibility.
9 years ago
Damien George 15d18069c5 py: Remove old "run time" functions that were 1 liners.
9 years ago
Damien George 3056509e00 py: Rename and reorder parameters in emit_make_function/closure.
9 years ago
Damien George d17926db71 Rename rt_* to mp_*.
9 years ago
Damien George ce8f07adcd py: Rename emit_pre so they have globally unique names.
9 years ago
Damien George 2326d52d20 py: Factor out code from runtime.c to emitglue.c.
9 years ago
Damien George 66eaf84b8c py: Replace mp_const_stop_iteration object with MP_OBJ_NULL.
9 years ago
xbe efe3422394 py: Clean up includes.
9 years ago
Paul Sokolovsky 520e2f58a5 Replace global "static" -> "STATIC", to allow "analysis builds". Part 2.
9 years ago
Damien George cd82e02e84 py: Partially fix native emitter to work with latest runtime.
9 years ago
Damien George 9aa2a527b5 py: Tidy up BINARY_OPs; negation done by special NOT bytecode.
9 years ago
Damien George cbddb279bb py: Implement break/continue from an exception with finally.
9 years ago
Damien George 08d075592f py: Fix bug with LOAD_METHOD; fix int->machine_int_t for small int.
9 years ago
Damien George 41d02b654e py: Improve freeing of emitters in mp_compile.
9 years ago
Paul Sokolovsky f46d87a30d Add support for freeing code emitter objects at the end of compilation.
9 years ago
Damien George 55baff4c9b Revamp qstrs: they now include length and hash.
9 years ago
Damien George 08335004cf Add source file name and line number to error messages.
9 years ago
Damien George 20006dbba9 Make VM stack grow upwards, and so no reversed args arrays.
9 years ago
Damien George bc1d36924d py: Fix emitcpy and emitnative's binary_op.
9 years ago
John R. Lenton b8698fca75 unified the bops
9 years ago
Damien George e67ed5d285 Improve configurability for native x64/thumb emitter.
9 years ago
Damien d99b05282d Change object representation from 1 big union to individual structs.
9 years ago
Damien a1b2693161 py: remove further unnecessary emit_verbatim code.
9 years ago
Damien 9ecbcfff99 py: work towards working closures.
9 years ago
Damien 6d4f3462c4 Viper: function calls now convert constant arguments to objects.
9 years ago
Damien ae0bc08a37 Viper supports inplace add (trivial).
9 years ago
Damien 9b9e996df6 Support for for-loop in native thumb.
9 years ago
Damien 1a6633a74d Implement more thumb branch instructions.
9 years ago
Damien 6ba1314265 Fix bug: emit native didn't clear last_was_return in label_assign.
9 years ago
Damien 27fb45eb1c Add local_num skeleton framework to deref/closure emit calls.
9 years ago
Damien d2755ec538 Add iterators and comprehension to emitnative.
9 years ago
Damien 3ef4abb446 Change ifdef/if defined to simple if's.
9 years ago