v8/test
jarin e97b29a4c5 [turbofan] Add type to the allocation operator.
This gives us more precise type information, so we can avoid some type
guards to refine the type information back.

The motivation for this is to help escape analysis by not introducing
redundant type guards (which escape analysis cannot handle yet even
though it could and should do).

Motivating example:

In the example below, the out-of-object property array for properties
fld5 and fld6 gets type Any when it is created by "o.fld5 = 5" (for
object literals, we store 4 properties in-objeca, the rest goes out
of object).

When we run load elimination for the load the out-of-object property
array (to store 6 into o.fld6), load elimination inserts TypeGuard to
enforce the Type::Internal() type. This makes escape analysis bail out
on this object, and we do not eliminate the object creation.

function f() {
  var o = {};
  o.fld1 = 1;
  o.fld2 = 2;
  o.fld3 = 3;
  o.fld4 = 4;
  o.fld5 = 5;
  o.fld6 = 6;
}

f();
f();
%OptimizeFunctionOnNextCall(f);
f();

Review-Url: https://codereview.chromium.org/2797993006
Cr-Commit-Position: refs/heads/master@{#44470}
2017-04-07 08:32:12 +00:00
..
benchmarks
cctest Revert of [profiler] reduce incorrectly unaccounted ticks. (patchset #4 id:60001 of https://codereview.chromium.org/2799603005/ ) 2017-04-07 08:23:42 +00:00
common [wasm] [fuzzer] Bound the number of steps to execute 2017-04-06 14:20:18 +00:00
debugger [build] Remove remaining disable-inspector options in GN 2017-04-05 17:59:07 +00:00
fuzzer [cleanup] Make ArrayList functions const. 2017-04-04 12:06:56 +00:00
inspector Revert of [inspector] move console to builtins (patchset #9 id:180001 of https://codereview.chromium.org/2785293002/ ) 2017-04-06 08:38:14 +00:00
intl [asm.js] Widen test coverage to cctest and friends. 2017-03-28 08:00:40 +00:00
js-perf-test [Tests] Update resources for SixSpeed and JSTest tests. 2017-03-31 07:57:51 +00:00
memory
message [type-profile] Return type profile object. 2017-04-04 09:02:49 +00:00
mjsunit [regexp] Add tests for recent changes in Annex B 2017-04-07 07:52:10 +00:00
mozilla [asm.js] Widen test coverage to cctest and friends. 2017-03-28 08:00:40 +00:00
preparser
promises-aplus
simdjs Store the FunctionTemplateInfo used to create remote objects in the map 2017-03-15 15:57:38 +00:00
test262 Revert of [typedarrays] Check detached buffer at start of typed array methods (patchset #10 id:180001 of https://codereview.chromium.org/2778623003/ ) 2017-04-04 08:01:02 +00:00
unittests [turbofan] Add type to the allocation operator. 2017-04-07 08:32:12 +00:00
webkit [asm.js] Widen test coverage to message tests. 2017-03-29 08:42:32 +00:00
bot_default.gyp [build] Make inspector the default in gyp 2017-03-30 15:08:31 +00:00
bot_default.isolate [debugger] basic test infrastructure for new debugger test api. 2016-10-21 06:38:05 +00:00
BUILD.gn [build] Remove remaining disable-inspector options in GN 2017-04-05 17:59:07 +00:00
default.gyp [build] Make inspector the default in gyp 2017-03-30 15:08:31 +00:00
default.isolate Add inspector tests to default tests to run locally. 2016-11-04 08:50:07 +00:00
optimize_for_size.gyp
optimize_for_size.isolate [debugger] basic test infrastructure for new debugger test api. 2016-10-21 06:38:05 +00:00
perf.gyp
perf.isolate Remove SIMD.js from V8. 2017-02-14 06:57:25 +00:00