Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmccutchan committed Apr 16, 2013
2 parents c975300 + 1608a67 commit ed052a0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions pkgs/benchmark_harness/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ In other words, don't compare apples with oranges.

```
dependencies:
benchmark_harness:
git: https://github.com/dart-lang/benchmark_harness.git
benchmark_harness: any
```

2\. Install pub packages
Expand Down
2 changes: 1 addition & 1 deletion pkgs/benchmark_harness/example/DeltaBlue.dart
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ class Variable {

/// Removes all traces of c from this variable.
void removeConstraint(Constraint c) {
constraints = constraints.filter((e) => c != e);
constraints = constraints.where((e) => c != e).toList();
if (determinedBy == c) determinedBy = null;
}
}
Expand Down
4 changes: 2 additions & 2 deletions pkgs/benchmark_harness/example/Richards.dart
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class Scheduler {
int currentId;
TaskControlBlock list;
List<TaskControlBlock> blocks =
new List<TaskControlBlock>(Richards.NUMBER_OF_IDS);
new List<TaskControlBlock>.fixedLength(Richards.NUMBER_OF_IDS);

/// Add an idle task to this scheduler.
void addIdleTask(int id, int priority, Packet queue, int count) {
Expand Down Expand Up @@ -461,7 +461,7 @@ class Packet {
int kind; // The type of this packet.
int a1 = 0;

List<int> a2 = new List(Richards.DATA_SIZE);
List<int> a2 = new List.fixedLength(Richards.DATA_SIZE);

Packet(this.link, this.id, this.kind);

Expand Down

0 comments on commit ed052a0

Please sign in to comment.