v8/test/mjsunit/ignition
bmeurer fd24deb0b2 [turbofan] Replace uninitialized JSConstruct nodes with SOFT deopt.
Similar to JSCall, we can also replace uninitialized JSConstruct nodes
with SOFT deopts to ensure that we don't generate unnecessary dead code.
This for example shows up in the hot parts of the Node event emitter
currently where the generic code for handling events with 4 or more
parameters might not have been run, but we still generate most of the
code because the new Array call in the beginning is not turned into
a SOFT deopt immediately.

Drive-by-fix: Also refactor the BytecodeGraphBuilder's handling of
Construct bytecodes a bit to reduce the amount of code duplication.

BUG=v8:4551, v8:5267
R=jarin@chromium.org

Review-Url: https://codereview.chromium.org/2958253002
Cr-Commit-Position: refs/heads/master@{#46339}
2017-06-30 08:18:43 +00:00
..
dead-code-source-position.js [interpreter] source positions should not be emitted for dead code. 2016-02-05 13:29:45 +00:00
ignition-statistics-extension.js [turbofan] Remove --turbo shorthand for --turbo-filter. 2017-06-23 11:19:19 +00:00
optimized-stack-trace.js [interpreter] Add tests for translating PC from optimized frame. 2016-03-02 14:54:55 +00:00
osr-from-bytecode.js [turbofan] Remove deprecated --turbo-from-bytecode flag. 2016-10-28 09:54:04 +00:00
osr-from-generator.js [interpreter] Extend test for OSR from within generators. 2016-07-28 16:52:26 +00:00
regress-597565-double-to-object-transition.js [Interpreter] Changes GenerateDoubleToObject to push and pop rsi value. 2016-03-31 13:45:48 +00:00
regress-599001-verifyheap.js [turbofan] Implement top-level lookup slot declaration. 2016-05-10 08:19:22 +00:00
regress-612386-smi-to-double-transition.js [Interpreter] Fix GenerateSmiToDouble to avoid assuming it is called from a JSFrame. 2016-06-01 14:49:00 +00:00
regress-616064.js [Interpreter] Don't try to eliminate dead-code in bytecode-array-builder 2016-06-01 22:55:10 +00:00
regress-629792-source-position-on-jump.js [interpreter] Fix peephole rule on eliding last before jump. 2016-07-28 14:41:26 +00:00
regress-662418.js [Interpreter] Ensure ValueOf is only called once for post-increment operations. 2016-11-08 17:03:16 +00:00
regress-664146.js [Interpreter] Fix logical-or/and to ensure it always visits the lhs. 2016-11-10 16:31:00 +00:00
regress-672027.js [Interpreter] Allocate registers used as call arguments on-demand. 2016-12-15 10:59:57 +00:00
stack-trace-source-position.js [complier] Enable parallel eager inner function compilation with compiler dispatcher. 2017-01-25 22:41:57 +00:00
throw-if-hole.js [turbofan] Remove --turbo shorthand for --turbo-filter. 2017-06-23 11:19:19 +00:00
throw-if-not-hole.js [turbofan] Replace uninitialized JSConstruct nodes with SOFT deopt. 2017-06-30 08:18:43 +00:00
throw-super-not-called.js [turbofan] Remove --turbo shorthand for --turbo-filter. 2017-06-23 11:19:19 +00:00
tracing.js [interpreter] Adds test for tracing. 2016-03-31 11:58:06 +00:00