v8/test
Leszek Swirski e5df5bd044 [ignition] Always write the deferred command result register
For deferred commands (such as in try-finally), some deferred commands
save and restore the accumulator using a result register (e.g. return,
throw, rethrow), while others don't (e.g. break, continue,
fall-through).

However, conditionally reading this result register that may not ever be
written caused it to be considered live from the start of the function,
as far as the liveness analysis could statically tell.

Now, we write the result register for all deferred commands, including
the fall-through. As a micro-optimization, we re-use the Smi command
tokeen to clobber the result, rather than emitting an LdaUndefined.

Bug: chromium:758472
Change-Id: I2ea65e2249b40ee6403216e654a8bb88d50bec3b
Reviewed-on: https://chromium-review.googlesource.com/635592
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#47612}
2017-08-25 16:31:24 +00:00
..
benchmarks
cctest [ignition] Always write the deferred command result register 2017-08-25 16:31:24 +00:00
common [wasm] Naming consistency for min/max pages and sizes in wasm-module.h 2017-08-10 15:43:10 +00:00
debugger Reland "[Compiler] Remove CompileDebugCode and EnsureBytecode and replace with Compile" 2017-08-17 13:21:44 +00:00
fuzzer [regexp] In fuzzer, clear exception after failed string creation 2017-08-25 07:09:23 +00:00
inspector [inspector] improved queryObjects command line API 2017-08-24 00:50:52 +00:00
intl Fix common misspellings 2017-08-02 09:35:28 +00:00
js-perf-test [js-perf-tests] Add more property accesses to module namespace micro-benchmark 2017-08-24 23:56:08 +00:00
memory
message [parser] Turn on --harmony-template-escapes by default 2017-08-24 20:05:03 +00:00
mjsunit Fix type conversions in JSStackFrame accessors 2017-08-25 15:32:54 +00:00
mkgrokdump
mozilla Enable --harmony-strict-legacy-accessor-builtins by default 2017-08-02 21:30:57 +00:00
preparser
promises-aplus Fix common misspellings 2017-08-02 09:35:28 +00:00
test262 [intl] Implement Intl.PluralRules behind --harmony-plural-rules 2017-08-21 22:23:59 +00:00
unittests [asm.js] Remove some dead AsmType subclasses. 2017-08-25 09:50:29 +00:00
wasm-spec-tests
webkit Fix common misspellings 2017-08-02 09:35:28 +00:00
bot_default.gyp
bot_default.isolate
BUILD.gn
default.gyp
default.isolate
optimize_for_size.gyp
optimize_for_size.isolate
perf.gyp
perf.isolate