Yusuke Suzuki

Results 127 comments of Yusuke Suzuki

This is the issue of escodegen. Since currently escodegen only supports Statement level comment, escodegen drops these comments. Please file it to escodegen.

Ah, I missed it. In this case, ``` js var x = function (/* signature comment */) { return 'foo' + 'bar'; }; /* raz */ x(function (other) { return...

Reopened. > @Constellation it's only the case if there are no arguments in signature, it all works fine if there is at least one argument, e.g. for following function (/\*...

OK, I've released `escope`, and next, I'll investigate it. :)

When the script is strict code, it becomes `ReferenceError`. ``` js 'use strict'; Hello = 42; // ReferenceError ``` So we cannot apply this to strict code, and as the...

My model is following. - construct CFG - assign variable slots to basic block - numbering assigned variable (SSA-like) - track numbered definition and when use-list is empty, we can...

We can start it with simple case. If complicated pattern is found (such as try-catch-finally), we can give up constructing CFG on this function, like optimizing compiler does.

Good catch! I think creating post processing pass to expand, right?

At first, we should implement tree based constant folindg (not considering variable)

I've implemented tree-based-constant-folding pass! 9184d32c1acdec07a0355165573cd3458c905892