v8/test
Dan Elphick dd54736795 [parser] Fix bytecode mismatch for this
Fixes bytecode mismatch between lazy and non-lazy where "this" was
marked as maybe assigned in constructors that called the super
constructor. Since this will return the hole in cases where it was not
yet initialized by super (and the hole is explicitly handled by
JSContextSpecialization::ReduceJSLoadContext), it's safe to treat it as
a constant in all cases. In the case of lazy compilation case, "this"
is never added to the ScopeInfo so is never seen as mutable.

Bug: chromium:994719
Change-Id: I43478fbc626b19eb1533aa9dec61b7f276ae140b
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1762025
Commit-Queue: Dan Elphick <delphick@chromium.org>
Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/master@{#63283}
2019-08-20 15:21:24 +00:00
..
benchmarks
cctest [heap] Remove ClearRecordedSlots 2019-08-20 15:09:57 +00:00
common Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00
debugger Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00
fuzzer [csa] block cloning to optimize branch on phi 2019-07-30 10:30:29 +00:00
inspector Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00
intl [Intl] Adding volume units. 2019-07-24 17:16:46 +00:00
js-perf-test [jsperf] Add benchmark for LoadConstantFromPrototype 2019-08-16 09:33:06 +00:00
memory
message [scanner] fix bug with reporting invalid numeric separator 2019-08-08 16:36:36 +00:00
mjsunit [parser] Fix bytecode mismatch for this 2019-08-20 15:21:24 +00:00
mkgrokdump Reland "Add postmortem debugging helper library" 2019-07-31 14:30:19 +00:00
mozilla [regexp] Add missing case for EscapeRegExpPattern 2019-07-09 08:11:51 +00:00
preparser
test262 Roll Test262 2019-08-13 10:23:30 +00:00
torque Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00
unittests [heap] Remove ClearRecordedSlots 2019-08-20 15:09:57 +00:00
wasm-api-tests [wasm-c-api] Roll 351b9b7: Support multiple return values 2019-08-20 14:48:14 +00:00
wasm-js Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00
wasm-spec-tests [mips][wasm] Correct wasm address space limit. 2019-08-02 14:54:08 +00:00
webkit [regexp] Add missing case for EscapeRegExpPattern 2019-07-09 08:11:51 +00:00
BUILD.gn
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00