Adjust some tests to prepare enabling Ignition+TurboFan
BUG=v8:5267, chromium:692409 Review-Url: https://codereview.chromium.org/2720713003 Cr-Commit-Position: refs/heads/master@{#43638}
This commit is contained in:
parent
e82b7ccd32
commit
15bed19495
@ -140,6 +140,7 @@
|
||||
|
||||
# Pass but take too long with the simulator.
|
||||
'test-api/ExternalArrays': [PASS, TIMEOUT],
|
||||
'test-api/Threading*': [PASS, SKIP],
|
||||
}], # 'arch == arm64 and simulator_run == True'
|
||||
|
||||
['arch == arm64 and mode == debug and simulator_run == True', {
|
||||
|
@ -24,7 +24,7 @@ function returnTrue() {
|
||||
|
||||
function testIf() {
|
||||
var a;
|
||||
|_|if (true) |_|a = true;
|
||||
if (true) |_|a = true;
|
||||
|_|if (!a) {
|
||||
|_|a = true;
|
||||
} else {
|
||||
@ -110,7 +110,7 @@ function testForInLoop() {
|
||||
|R|}
|
||||
|
||||
function testSimpleExpressions() {
|
||||
|_|1 + 2 + 3;
|
||||
1 + 2 + 3;
|
||||
var a = |_|1;
|
||||
|_|++a;
|
||||
|_|a--;
|
||||
@ -172,7 +172,7 @@ function testGenerator() {
|
||||
|
||||
function throwException() {
|
||||
|_|throw |C|new Error();
|
||||
|R|}
|
||||
}
|
||||
|
||||
function testCaughtException() {
|
||||
try {
|
||||
|
@ -2,6 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flags: --turbo
|
||||
|
||||
InspectorTest.log('Checks Debugger.getPossibleBreakpoints');
|
||||
|
||||
var source = utils.read('test/inspector/debugger/resources/break-locations.js');
|
||||
|
@ -52,11 +52,6 @@ break at:
|
||||
|
||||
|
||||
Running test: testIf
|
||||
break at:
|
||||
var a;
|
||||
#if (true) a = true;
|
||||
if (!a) {
|
||||
|
||||
break at:
|
||||
var a;
|
||||
if (true) #a = true;
|
||||
@ -398,11 +393,21 @@ break at:
|
||||
for (var k in #o) {}
|
||||
for (var k in o) k;
|
||||
|
||||
break at:
|
||||
var o = {};
|
||||
for (var #k in o) {}
|
||||
for (var k in o) k;
|
||||
|
||||
break at:
|
||||
for (var k in o) {}
|
||||
for (var k in #o) k;
|
||||
for (var k in { a:1 }) {}
|
||||
|
||||
break at:
|
||||
for (var k in o) {}
|
||||
for (var #k in o) k;
|
||||
for (var k in { a:1 }) {}
|
||||
|
||||
break at:
|
||||
for (var k in o) k;
|
||||
for (var k in #{ a:1 }) {}
|
||||
@ -440,11 +445,6 @@ break at:
|
||||
|
||||
|
||||
Running test: testSimpleExpressions
|
||||
break at:
|
||||
function testSimpleExpressions() {
|
||||
#1 + 2 + 3;
|
||||
var a = 1;
|
||||
|
||||
break at:
|
||||
1 + 2 + 3;
|
||||
var a = #1;
|
||||
|
@ -2,6 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Flags: --turbo
|
||||
|
||||
InspectorTest.log('Checks possible break locations.');
|
||||
|
||||
InspectorTest.setupScriptMap();
|
||||
|
@ -176,6 +176,11 @@
|
||||
|
||||
# BUG(v8:5807): Flaky data race.
|
||||
'wasm/embenchen/fannkuch': [PASS, ['tsan', SKIP]],
|
||||
|
||||
# BUG(v8:5778): These fail with --future, which we are about to turn on.
|
||||
# Investigate.
|
||||
'regress/regress-105': [SKIP],
|
||||
|
||||
}], # ALWAYS
|
||||
|
||||
['novfp3 == True', {
|
||||
|
@ -25,10 +25,16 @@
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
// Flags: --expose-externalize-string --expose-gc
|
||||
// Flags: --expose-externalize-string --expose-gc --allow-natives-syntax
|
||||
|
||||
var size = 1024;
|
||||
|
||||
function dont_inline() { return "A"; }
|
||||
%NeverOptimizeFunction(dont_inline);
|
||||
|
||||
function dont_inline2() { return "\u1234"; }
|
||||
%NeverOptimizeFunction(dont_inline2);
|
||||
|
||||
function test() {
|
||||
var str = "";
|
||||
|
||||
@ -39,12 +45,12 @@ function test() {
|
||||
assertTrue(isOneByteString(str));
|
||||
|
||||
var twoByteExternalWithOneByteData =
|
||||
"AA" + (function() { return "A"; })();
|
||||
"AA" + dont_inline();
|
||||
externalizeString(twoByteExternalWithOneByteData, true /* force two-byte */);
|
||||
assertFalse(isOneByteString(twoByteExternalWithOneByteData));
|
||||
|
||||
var realTwoByteExternalString =
|
||||
"\u1234\u1234\u1234\u1234" + (function() { return "\u1234"; })();
|
||||
"\u1234\u1234\u1234\u1234" + dont_inline2();
|
||||
externalizeString(realTwoByteExternalString);
|
||||
assertFalse(isOneByteString(realTwoByteExternalString));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user