Description[V8][asm.js] Adds support to global const variables.
This CL adds support for:
https://discourse.wicg.io/t/allow-const-global-variables/684
It allows global const variables to be used as if they were numeric
literals. For example:
const f0 = fround(0);
...
function foo() {
var v = f0; // no type annotation.
...
return f0; // no return type annotation.
}
BUG= https://bugs.chromium.org/p/v8/issues/detail?id=5540
Committed: https://crrev.com/5331e3b61633b5b95b487353b4d08346abf48eee
Cr-Commit-Position: refs/heads/master@{#40477}
Patch Set 1 #Patch Set 2 : Changes expected error messages in asm-typer cctest. #
Total comments: 8
Patch Set 3 : Addresses comments. #
Messages
Total messages: 26 (16 generated)
|