| Index: runtime/vm/snapshot_test.dart
|
| ===================================================================
|
| --- runtime/vm/snapshot_test.dart (revision 13756)
|
| +++ runtime/vm/snapshot_test.dart (working copy)
|
| @@ -1086,7 +1086,7 @@
|
|
|
| static void main() {
|
| init();
|
| - PingPongGame pingPongGame = new PingPongGame.play();
|
| + PingPongGame pingPongGame = new PingPongGame();
|
| }
|
|
|
| static var _run;
|
| @@ -1095,7 +1095,7 @@
|
|
|
| class PingPongGame {
|
|
|
| - PingPongGame.play()
|
| + PingPongGame()
|
| : _ping = new ReceivePort(),
|
| _pingPort = _ping.toSendPort(),
|
| _pong = null,
|
| @@ -1125,7 +1125,7 @@
|
| shutdown();
|
| Benchmark1.add_result((1.0 * _iterations * Benchmark1.MESSAGES) / time);
|
| if (Benchmark1.run() < Benchmark1.RUNS) {
|
| - new PingPongGame.play();
|
| + new PingPongGame();
|
| } else {
|
| print("PingPong: ", Benchmark1.get_result());
|
| }
|
|
|