• Simon Zünd's avatar
    [torque] Add local const bindings · b95def34
    Simon Zünd authored
    This CL adds local const bindings. This means that instead of
    generating TVARIABLEs for variables, we can generate simple TNodes.
    
    Example:
    
    macro FooBar(): {
      const kSomeSmi: Smi = 10;
      ...
    }
    
    This CL also enforces that variables with a constexpr type are bound
    using 'const' and not 'let'.
    
    R=tebbi@chromium.org
    
    Bug: v8:7793
    Change-Id: Id20a18149df9fc374ce718bdb1478e3eabb6e6df
    Reviewed-on: https://chromium-review.googlesource.com/1138316
    Commit-Queue: Simon Zünd <szuend@google.com>
    Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#54479}
    b95def34
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...