Skip to content

Commit 326c00c

Browse files
feli-citascommit-bot@chromium.org
authored andcommitted
[vm/fuzzer] Reduce number of methods per class
Rationale: Reducing codesize to avoid timeouts on SIMARM builds. Change-Id: I0f3ec773470ed2c60a9bc6f1c4ac65b7b4089a1e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/118466 Commit-Queue: Felicitas Hetzelt <[email protected]> Reviewed-by: Aart Bik <[email protected]> Reviewed-by: Ben Konyi <[email protected]>
1 parent a6cc7b9 commit 326c00c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime/tools/dartfuzz/dartfuzz.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import 'dartfuzz_ffiapi.dart';
1414
// Version of DartFuzz. Increase this each time changes are made
1515
// to preserve the property that a given version of DartFuzz yields
1616
// the same fuzzed program for a deterministic random seed.
17-
const String version = '1.50';
17+
const String version = '1.51';
1818

1919
// Restriction on statements and expressions.
2020
const int stmtDepth = 1;
@@ -23,7 +23,6 @@ const int numStatements = 2;
2323
const int numGlobalVars = 4;
2424
const int numLocalVars = 4;
2525
const int numGlobalMethods = 4;
26-
const int numClassMethods = 3;
2726
const int numMethodParams = 4;
2827
const int numClasses = 4;
2928

@@ -135,6 +134,7 @@ class DartFuzz {
135134
globalMethods =
136135
fillTypes2(limit2: numGlobalMethods, limit1: numMethodParams);
137136
classFields = fillTypes2(limit2: numClasses, limit1: numLocalVars);
137+
final int numClassMethods = 1 + numClasses - classFields.length;
138138
classMethods = fillTypes3(classFields.length,
139139
limit2: numClassMethods, limit1: numMethodParams);
140140

0 commit comments

Comments
 (0)