Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Issue 2653753007: [tests] Cleanup tests that use assertOptimized()/assertUnoptimized(). (Closed)

Created:
3 years, 11 months ago by Igor Sheludko
Modified:
3 years, 11 months ago
Reviewers:
Michael Starzinger
CC:
v8-reviews_googlegroups.com, devtools-reviews_chromium.org, Michael Hablich
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[tests] Cleanup tests that use assertOptimized()/assertUnoptimized(). This CL adds --crankshaft and --no-always-opt flags to the tests that use assertOptimized() and assertUnoptimized() respectively. This CL also adds presubmit checks that ensure that tests have the proper flags set. BUG=v8:5890 Review-Url: https://codereview.chromium.org/2653753007 Cr-Commit-Position: refs/heads/master@{#42709} Committed: https://chromium.googlesource.com/v8/v8/+/a8a432701fee76967417be5b17e215ed961c9003

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressing comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+209 lines, -188 lines) Patch
M src/d8.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M src/flag-definitions.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M test/debugger/debug/debug-compile-optimized.js View 1 chunk +1 line, -0 lines 0 comments Download
M test/debugger/debug/debug-evaluate-nested-let.js View 1 chunk +1 line, -0 lines 0 comments Download
M test/debugger/debug/debug-optimize.js View 1 chunk +1 line, -0 lines 0 comments Download
M test/debugger/debug/es6/debug-blockscopes.js View 1 chunk +1 line, -1 line 0 comments Download
M test/debugger/debug/regress/regress-crbug-633999.js View 1 chunk +1 line, -1 line 0 comments Download
M test/debugger/debug/regress/regress-opt-after-debug-deopt.js View 1 chunk +1 line, -0 lines 0 comments Download
M test/debugger/debug/regress/regress-prepare-break-while-recompile.js View 1 chunk +1 line, -0 lines 0 comments Download
M test/inspector/debugger/pause-on-oom.js View 1 chunk +2 lines, -1 line 0 comments Download
M test/mjsunit/allocation-site-info.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/array-bounds-check-removal.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/array-constructor-feedback.js View 9 chunks +23 lines, -31 lines 0 comments Download
M test/mjsunit/array-feedback.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/array-literal-feedback.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/array-literal-transitions.js View 2 chunks +4 lines, -5 lines 0 comments Download
M test/mjsunit/array-push5.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/array-shift4.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/array-store-and-grow.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/compiler/concurrent-invalidate-transition-map.js View 1 chunk +1 line, -0 lines 0 comments Download
M test/mjsunit/compiler/concurrent-proto-change.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/compiler/deopt-inlined-from-call.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/compiler/deopt-numberoroddball-binop.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/compiler/deopt-string-outofbounds.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/compiler/increment-typefeedback.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/compiler/inlined-array-pop-opt.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/compiler/inlined-call.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/compiler/integral32-add-sub.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/compiler/manual-concurrent-recompile.js View 1 chunk +1 line, -0 lines 0 comments Download
M test/mjsunit/compiler/opt-next-call.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/compiler/opt-next-call-turbo.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/compiler/optimized-float32array-length.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/compiler/optimized-float64array-length.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/compiler/optimized-int32array-length.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/compiler/optimized-uint32array-length.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/compiler/regress-5320.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/compiler/regress-strict-equals-mixed-feedback.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/compiler/uint8-clamped-array.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/concurrent-initial-prototype-change.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/constant-folding-2.js View 1 chunk +2 lines, -1 line 0 comments Download
M test/mjsunit/deopt-minus-zero.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/deopt-with-fp-regs.js View 2 chunks +3 lines, -3 lines 0 comments Download
M test/mjsunit/deserialize-optimize-inner.js View 1 chunk +1 line, -0 lines 0 comments Download
M test/mjsunit/div-mul-minus-one.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/elements-transition-hoisting.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/ensure-growing-store-learns.js View 2 chunks +23 lines, -25 lines 0 comments Download
M test/mjsunit/es6/array-iterator-turbo.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/es6/block-let-crankshaft.js View 2 chunks +3 lines, -3 lines 0 comments Download
M test/mjsunit/es6/block-let-crankshaft-sloppy.js View 2 chunks +3 lines, -3 lines 0 comments Download
M test/mjsunit/es6/block-scoping.js View 2 chunks +2 lines, -2 lines 0 comments Download
M test/mjsunit/es6/block-scoping-sloppy.js View 2 chunks +2 lines, -2 lines 0 comments Download
M test/mjsunit/field-type-tracking.js View 1 chunk +1 line, -0 lines 0 comments Download
M test/mjsunit/getters-on-elements.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/harmony/do-expressions.js View 1 chunk +2 lines, -1 line 0 comments Download
M test/mjsunit/keyed-load-hole-to-undefined.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/keyed-load-with-string-key.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/keyed-load-with-symbol-key.js View 1 chunk +2 lines, -1 line 0 comments Download
M test/mjsunit/math-floor-of-div-minus-zero.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/modules-turbo.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/never-optimize.js View 1 chunk +21 lines, -25 lines 0 comments Download
M test/mjsunit/object-seal.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/parallel-optimize-disabled.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-2132.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-2250.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-2315.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-2339.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-2451.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-252797.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-2618.js View 3 chunks +3 lines, -3 lines 0 comments Download
M test/mjsunit/regress/regress-3176.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-347914.js View 1 chunk +1 line, -0 lines 0 comments Download
M test/mjsunit/regress/regress-3650-3.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-3709.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-385565.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-410912.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-4121.js View 2 chunks +2 lines, -8 lines 0 comments Download
M test/mjsunit/regress/regress-4380.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-5404.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-5790.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-5802.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-618608.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-crbug-500497.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-crbug-506443.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-crbug-554831.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-crbug-587068.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-crbug-594183.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-embedded-cons-string.js View 1 chunk +1 line, -0 lines 0 comments Download
M test/mjsunit/regress/regress-map-invalidation-2.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-param-local-type.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-store-uncacheable.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-v8-5697.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/wasm/regression-02256.js View 1 chunk +1 line, -0 lines 0 comments Download
M test/mjsunit/regress/wasm/regression-02256b.js View 1 chunk +1 line, -0 lines 0 comments Download
M test/mjsunit/setters-on-elements.js View 1 chunk +1 line, -0 lines 0 comments Download
M test/mjsunit/shared-function-tier-up-default.js View 1 chunk +3 lines, -1 line 0 comments Download
M test/mjsunit/shared-function-tier-up-ignition.js View 1 chunk +3 lines, -1 line 0 comments Download
M test/mjsunit/shared-function-tier-up-turbo.js View 1 chunk +2 lines, -1 line 0 comments Download
M test/mjsunit/shift-for-integer-div.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/sin-cos.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/smi-mul.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/smi-mul-const.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/unary-minus-deopt.js View 1 chunk +1 line, -1 line 0 comments Download
M tools/presubmit.py View 2 chunks +16 lines, -1 line 0 comments Download

Messages

Total messages: 13 (8 generated)
Igor Sheludko
PTAL
3 years, 11 months ago (2017-01-26 16:36:31 UTC) #5
Michael Starzinger
LGTM with comments. https://codereview.chromium.org/2653753007/diff/20001/src/flag-definitions.h File src/flag-definitions.h (right): https://codereview.chromium.org/2653753007/diff/20001/src/flag-definitions.h#newcode491 src/flag-definitions.h:491: DEFINE_IMPLICATION(turbo, crankshaft) nit: Can you leave ...
3 years, 11 months ago (2017-01-26 16:51:46 UTC) #6
Igor Sheludko
https://codereview.chromium.org/2653753007/diff/20001/src/flag-definitions.h File src/flag-definitions.h (right): https://codereview.chromium.org/2653753007/diff/20001/src/flag-definitions.h#newcode491 src/flag-definitions.h:491: DEFINE_IMPLICATION(turbo, crankshaft) On 2017/01/26 16:51:46, Michael Starzinger wrote: > ...
3 years, 11 months ago (2017-01-26 17:01:40 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2653753007/40001
3 years, 11 months ago (2017-01-26 17:01:56 UTC) #10
commit-bot: I haz the power
3 years, 11 months ago (2017-01-26 17:39:16 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/a8a432701fee76967417be5b17e215ed961...

Powered by Google App Engine
This is Rietveld 408576698