v8/test/cctest/asmjs
jpp 5331e3b616 [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

Review-Url: https://chromiumcodereview.appspot.com/2435823002
Cr-Commit-Position: refs/heads/master@{#40477}
2016-10-20 15:48:41 +00:00
..
OWNERS V8. ASM-2-WASM. Validator V2. 2016-07-12 23:12:08 +00:00
test-asm-typer.cc [V8][asm.js] Adds support to global const variables. 2016-10-20 15:48:41 +00:00