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

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

Issue 1034273003: fix for static methods and names banned in strict mode (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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 | « test/codegen/expect/BenchmarkBase.js ('k') | test/codegen/expect/names.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/DeltaBlue.js
diff --git a/test/codegen/expect/DeltaBlue.js b/test/codegen/expect/DeltaBlue.js
index 9d0693b81b0f252784492243e081a43566037452..084e0a8cff17bdba330829291eafd96ceb1e15a4 100644
--- a/test/codegen/expect/DeltaBlue.js
+++ b/test/codegen/expect/DeltaBlue.js
@@ -29,10 +29,10 @@ var DeltaBlue;
return dart.notNull(s1.value) > dart.notNull(s2.value);
}
static weakest(s1, s2) {
- return weaker(s1, s2) ? s1 : s2;
+ return Strength.weaker(s1, s2) ? s1 : s2;
}
static strongest(s1, s2) {
- return stronger(s1, s2) ? s1 : s2;
+ return Strength.stronger(s1, s2) ? s1 : s2;
}
}
let REQUIRED = new Strength(0, "required");
« no previous file with comments | « test/codegen/expect/BenchmarkBase.js ('k') | test/codegen/expect/names.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698