Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(302)

Unified Diff: test/codegen/expect/BenchmarkBase.js

Issue 1169473003: fixes #43, remove => workaround (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/js/printer.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/BenchmarkBase.js
diff --git a/test/codegen/expect/BenchmarkBase.js b/test/codegen/expect/BenchmarkBase.js
index fca4ebc9a7bba4a31ffbf28b750585c256756e2d..8c1a9059235d92a3ab7c7fa560bd97833f69ddb5 100644
--- a/test/codegen/expect/BenchmarkBase.js
+++ b/test/codegen/expect/BenchmarkBase.js
@@ -58,12 +58,12 @@ var core = dart.import(core);
}
measure() {
this.setup();
- BenchmarkBase.measureFor(dart.fn((() => {
+ BenchmarkBase.measureFor(dart.fn(() => {
this.warmup();
- }).bind(this)), 100);
- let result = BenchmarkBase.measureFor(dart.fn((() => {
+ }), 100);
+ let result = BenchmarkBase.measureFor(dart.fn(() => {
this.exercise();
- }).bind(this)), 2000);
+ }), 2000);
this.teardown();
return result;
}
« no previous file with comments | « lib/src/js/printer.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698