fix bug with reducing f()|0|const
This commit is contained in:
Родитель
06665ab130
Коммит
8215a28597
|
@ -459,7 +459,7 @@ function simplifyExpressionsPre(ast) {
|
|||
go = true;
|
||||
}
|
||||
if (!go) {
|
||||
stack.push(2);
|
||||
stack.push(1);
|
||||
return;
|
||||
}
|
||||
// We might be able to remove this correction
|
||||
|
|
|
@ -18,6 +18,7 @@ function a() {
|
|||
f(g() | 0);
|
||||
f(g() | 0 & -1);
|
||||
f((g() | 0) >> 2);
|
||||
$56 = _fcntl() | 0 | 1;
|
||||
}
|
||||
function b($this, $__n) {
|
||||
$this = $this | 0;
|
||||
|
|
|
@ -19,6 +19,7 @@ function a() {
|
|||
f(g() | 0 | 0);
|
||||
f(g() | 0 & -1);
|
||||
f((g() | 0) >> 2);
|
||||
$56 = (_fcntl() | 0) | 1;
|
||||
}
|
||||
function b($this, $__n) {
|
||||
$this = $this | 0;
|
||||
|
|
Загрузка…
Ссылка в новой задаче