Branch: Tag:


2020-03-12 13:08:14 by Henrik Grubbström (Grubba) <>

Compiler: Reduce the number of soft cast warnings.

Fixes some of #10006.


2020-02-04 11:33:05 by Henrik Grubbström (Grubba) <>

Compiler [Typechecker]: Added DWIM kludge.


2020-01-23 15:32:18 by Henrik Grubbström (Grubba) <>

Compiler [Typechecker]: Improved type checking.

Fixed issue where constant expressions after evaluation sometimes
got a partially weaker type. Eg: The expression

({ 0, 1, 2, 3 })

gets the type array(int(4bit)) from evaluating the type, but
the type array(4: int) from generating a type from the value.
The code generator now adds a soft-cast to the original type,
causing the resulting type to be array(4: int(4bit)).

Fixes testsuite failures for undumped pikes from eg SSL.Context.


2020-01-17 12:02:43 by Henrik Grubbström (Grubba) <>

Compiler: Adjusted type checking for foreach.


2020-01-02 13:38:20 by Henrik Grubbström (Grubba) <>

Compiler: Added push_unlimited_array_type().

This is in preparation for adding support for
length-limited array types.


2019-11-23 13:39:08 by Henrik Grubbström (Grubba) <>

Compiler: print_tree() now knows about continue return and yield.


2019-11-14 12:15:53 by Henrik Grubbström (Grubba) <>

Compiler: count_memory_in_node_ss() now survives Pike_compiler_base.

Pike_compiler_base has no active compiler.

Also adds some PIKE_DEBUG checks.

2019-11-14 09:46:57 by Henrik Grubbström (Grubba) <>

Compiler: Move node_allocator to struct compilation.

Allocated nodes may need to live during an entire translation unit.

This moves the allocator from struct Pike_compiler (ie compilation.h)
to struct compilation (aka CompilationEnvironment.PikeCompiler).

Fixes use of already freed nodes after certain syntax errors.


2019-10-26 21:14:40 by Marcus Comstedt <>

Compiler [generators]: Fix compiler crash

F_GENERATOR does not use CDR, so don't try to access it as a node.


2019-10-18 12:31:25 by Henrik Grubbström (Grubba) <>

Merge branch 'patches/pike221'

* patches/pike221:
Compiler: object->program_id only exists --with-debug.

2019-10-18 09:11:58 by Henrik Grubbström (Grubba) <>

Merge branch 'patches/pike221'

* patches/pike221:
Compiler: Make get_name_of_function() survive destructed functions.
Compiler: Improved robustness of placeholder activation.


2019-09-12 10:03:07 by Henrik Grubbström (Grubba) <>

Compiler [generators]: Added yield().


2019-08-26 12:51:20 by Henrik Grubbström (Grubba) <>

Compiler: Fixed bug in mkgeneratornode().


2019-08-24 15:58:29 by Henrik Grubbström (Grubba) <>

Compiler: Added mkgeneratornode().