guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix tree-il code generation for ECMAscript `new' expression.


From: Ludovic Courtès
Subject: Re: [PATCH] Fix tree-il code generation for ECMAscript `new' expression.
Date: Tue, 25 Oct 2016 23:41:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Julian Graham <address@hidden> skribis:

> From 16ef2df6cc206f829c3aff96b1b315ed6fb50c05 Mon Sep 17 00:00:00 2001
> From: Julian Graham <address@hidden>
> Date: Tue, 13 Sep 2016 08:39:43 -0400
> Subject: [PATCH] Fix tree-il code generation for ECMAscript `new' expression.
>
> The compiler was producing `((toplevel foo))' instead of `(toplevel foo)'.
> Changed to use `call' form with target type and spliced constructor
> arguments.
>
> * module/language/ecmascript/compile-tree-il.scm (comp): Replace 
> address@hidden'
>   shorthand with `call' + address@hidden' for better control over resulting
>   tree-il.
> * test-suite/tests/ecmascript.test (compiler): Add test for "new Object();"

Finally pushed to master, thanks!  :-)

Ludo’.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]