Commit 375afe2a authored by mstarzinger's avatar mstarzinger Committed by Commit bot

[turbofan] Adapt test assumptions about OSR.

The assumptions that OSR code is installed on {JSFunction} objects no
longer holds with TurboFan and hence {assertOptimized} can report a
different result dependeing on how OSR code is treated. This is working
as intended.

R=mythria@chromium.org

Review-Url: https://codereview.chromium.org/2453313002
Cr-Commit-Position: refs/heads/master@{#40624}
parent 39ed137b
...@@ -602,14 +602,6 @@ ...@@ -602,14 +602,6 @@
'unicode-test': [SKIP], 'unicode-test': [SKIP],
}], # variant == stress }], # variant == stress
##############################################################################
['variant == turbofan', {
# Assumptions about optimization need investigation in TurboFan.
'regress-sync-optimized-lists': [FAIL],
}], # variant == turbofan
############################################################################## ##############################################################################
['variant == turbofan_opt', { ['variant == turbofan_opt', {
...@@ -635,7 +627,6 @@ ...@@ -635,7 +627,6 @@
############################################################################## ##############################################################################
['variant == ignition', { ['variant == ignition', {
'debug-liveedit-double-call': [FAIL], 'debug-liveedit-double-call': [FAIL],
'regress-sync-optimized-lists': [FAIL],
# Might trigger stack overflow. # Might trigger stack overflow.
'unicode-test': [SKIP], 'unicode-test': [SKIP],
...@@ -684,7 +675,6 @@ ...@@ -684,7 +675,6 @@
['variant == ignition_staging', { ['variant == ignition_staging', {
'assert-opt-and-deopt': [SKIP], 'assert-opt-and-deopt': [SKIP],
'debug-liveedit-double-call': [FAIL], 'debug-liveedit-double-call': [FAIL],
'regress-sync-optimized-lists': [FAIL],
# Fails because concurrent compilation is not triggered on bytecode. # Fails because concurrent compilation is not triggered on bytecode.
# Check in Runtime_OptimizeFunctionOnNextCall. # Check in Runtime_OptimizeFunctionOnNextCall.
......
...@@ -29,11 +29,9 @@ f1(new Ctor(), false); ...@@ -29,11 +29,9 @@ f1(new Ctor(), false);
// Kick off concurrent recompilation and OSR. // Kick off concurrent recompilation and OSR.
var o = new Ctor(); var o = new Ctor();
f1(o, true); f1(o, true);
assertOptimized(f1, "no sync");
// Flush the optimizing compiler's queue. // Flush the optimizing compiler's queue.
%NotifyContextDisposed(); %NotifyContextDisposed();
assertUnoptimized(f1, "no sync");
// Trigger deopt. // Trigger deopt.
o.c = 2.2; o.c = 2.2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment