-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix "use asm" numeric output in function expressions #2328
Conversation
Thanks for beating me to it 😉 |
@alexlamsl Glad to help out. I've spotted an inefficiency - if --- a/lib/output.js
+++ b/lib/output.js
@@ -491,7 +491,7 @@ function OutputStream(options) {
if (self instanceof AST_Scope) {
active_scope = self;
}
- if (!use_asm && self instanceof AST_Directive && self.value == "use asm") {
+ else if (!use_asm && self instanceof AST_Directive && self.value == "use asm") {
use_asm = active_scope;
}
function doit() { Would you mind committing that change? |
Done in 7e3e9da |
Thanks. Just curious - my
The conflict was the line in question. My local repo fix was to
|
I applied your patch, then On my local branch I did ( |
Okay, it's cool. Just the one or two people who updated their local |
Applied patch from mishoo#2328
Fixes: #2324