Sami Vaarala
5de8fdbc77
2.2 migration note for %NativeFunctionPrototype%
8 years ago
Sami Vaarala
db35cddd51
Internal doc updates for DUKFUNC flag change
8 years ago
Sami Vaarala
b2667848dd
Testcase updates for %NativeFunctionPrototype%
8 years ago
Sami Vaarala
adcc4e5bed
Use %NativeFunctionPrototype% for native functions
Not applied to built-in native functions which must inherit directly
from Function.prototype.
8 years ago
Sami Vaarala
dd5028889d
Handle accessor .length in genbuiltins
8 years ago
Sami Vaarala
0035404cb8
Merge pull request #1516 from svaarala/fix-dump-function-template-length
Fix duk_dump_function() .length handling when _Formals omitted
8 years ago
Sami Vaarala
aa5afbd14a
Releases: dump/load _Formals
8 years ago
Sami Vaarala
41c26b2baa
Testcase expect fix for _Formals dump change
8 years ago
Sami Vaarala
8d5ec2bff3
Handle missing and empty _Formals in dump format
The distinction matters when loading back: if _Formals was omitted, we don't
want to load back an empty _Formals array for a function template because it
then breaks function instance .length computation.
8 years ago
Sami Vaarala
38fa6441f0
Merge pull request #1512 from svaarala/v2.0.3-release-prep
Release preparations for 2.0.3 release
8 years ago
Sami Vaarala
629b73bb35
Add 2.0.3 download link
8 years ago
Sami Vaarala
ff6702233f
Releases: add 2.0.3 release
8 years ago
Sami Vaarala
e5fe166944
Merge pull request #1511 from svaarala/fix-msvc-cast-warning
Fix a harmless MSVC cast warning
8 years ago
Sami Vaarala
c9911a464c
Releases: MSVC cast warning
8 years ago
Sami Vaarala
e6fcf1e1c9
Fix a harmless MSVC cast warning
8 years ago
Sami Vaarala
5c870aa359
Merge pull request #1510 from svaarala/no-inline-large-rare-opcodes
Move large and rare opcodes into NOINLINE helpers
8 years ago
Sami Vaarala
46704aea32
Releases: rare/large opcode NOINLINE helper
8 years ago
Sami Vaarala
eaebc35e71
Move large and rare opcodes into NOINLINE helpers
Move handling of the following opcodes into NOINLINE helpers to make the
main dispatch function smaller and a bit better performing:
* INITSET and INITGET
* TRYCATCH
* ENDTRY
* ENDCATCH
* ENDFIN
* INITENUM and NEXTENUM
8 years ago
Sami Vaarala
4c86048b3f
Merge pull request #1509 from svaarala/fix-opcode-debug-print-outofsync
Fix out-of-sync opcode list for internal debug print %!I format
8 years ago
Sami Vaarala
ebbd338c6f
Releases: debug opcode names
8 years ago
Sami Vaarala
e9f20f62f5
Fix out-of-sync opcode debug printing
8 years ago
Sami Vaarala
6e2a76d283
Merge pull request #1508 from svaarala/misc-longjmp-cleanups
Miscellaneous longjmp handling cleanups
8 years ago
Sami Vaarala
961acdca07
Releases: ENDFIN simplification
8 years ago
Sami Vaarala
a589a843c3
Remove unnecessary ENDFIN value push
8 years ago
Sami Vaarala
e302835c37
Fix out-of-date executor comments (act stability)
8 years ago
Sami Vaarala
39aa260faf
Debugger opcode update for ENDFIN
8 years ago
Sami Vaarala
7f95695d4a
Simplify ENDFIN handling
ENDFIN only needs reg_catch base index (relative to valstack_bottom).
Assertions reference 'cat' catcher but that's not needed at runtime.
8 years ago
Sami Vaarala
3a129312f1
Merge pull request #1503 from svaarala/one-step-bound-functions
Add internal duk_hboundfunc type and collapse bound function chains
8 years ago
Sami Vaarala
35cef0f38c
Releases: duk_hboundfunc, collapse bound chains
8 years ago
Sami Vaarala
83c18e5cc9
Add perf test for Proxy get
Missing from a previous pull.
8 years ago
Sami Vaarala
c9b568eca9
Add perf tests for bound func creation/call
8 years ago
Sami Vaarala
7da139f336
Update type document
* Update for duk_hboundfunc
* Update for duk_hproxy
* Update for duk_henv
8 years ago
Sami Vaarala
84947740d1
Add duk_hboundfunc.h to combine/dist
8 years ago
Sami Vaarala
d9efba09b0
Testcase changes for duk_hboundfunc
8 years ago
Sami Vaarala
3ede444c8c
Add duk_hboundfunc internal type
8 years ago
Sami Vaarala
013623e5a0
Merge pull request #1506 from svaarala/fix-bufobj-slice-assert
Avoid duk_hbufobj validity assert trigger
8 years ago
Sami Vaarala
6de3363127
Releases: duk_hbufobj assert
8 years ago
Sami Vaarala
be5a4d2231
Avoid duk_hbufobj validity assert trigger
duk_hbufobj validity assertions require that if the buf pointer is NULL,
the buffer length and offset are zero. This is violated by the shared
slice code because it sets ->length before allocating a buffer, and since an
allocation may trigger side effects, the assert may trigger in mark-and-sweep.
I don't think this causes issues besides an assert failure.
8 years ago
Sami Vaarala
d32afa2b26
Merge pull request #1504 from svaarala/fix-bound-func-call-nargs-limit
Fix missing duk_require_stack() in bound function call handling
8 years ago
Sami Vaarala
98b57c599b
Releases: bound func value stack reserve
8 years ago
Sami Vaarala
1581417c05
Add missing require stack for bound func handling
8 years ago
Sami Vaarala
3d687cf69c
Add testcase for large bound func arg count
8 years ago
Sami Vaarala
68a23666f7
Merge pull request #1491 from svaarala/add-activation-catcher-minimal-freelist
Add a minimal implementation of activation/catcher freelists
8 years ago
Sami Vaarala
ea9fd976e1
Add placeholder 2.2 release notes file
8 years ago
Sami Vaarala
61b3178558
Releases: catcher/activation freelists
8 years ago
Sami Vaarala
a03494a220
Makeduk config options, commented out
8 years ago
Sami Vaarala
b98bfd60d3
Fix some explicit NULL init bugs
8 years ago
Sami Vaarala
c21ae1a040
Add catcher/activation freelist initial draft
8 years ago
Sami Vaarala
65eec5c448
Config option changes for freelists
8 years ago
Sami Vaarala
c5115032a0
Merge pull request #1502 from svaarala/rom-object-always-reachable
Set REACHABLE for ROM objects to avoid a READONLY check in marking
8 years ago