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

Unified Diff: lib/runtime/dart/math.js

Issue 1043003002: keep mixin and interface implementation info at runtime (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 | « lib/runtime/dart/isolate.js ('k') | lib/runtime/dart/typed_data.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/math.js
diff --git a/lib/runtime/dart/math.js b/lib/runtime/dart/math.js
index c30b3e880bf561818b15f3ae7c43988b71def522..940ebda789b497e9cef913f0cc7307820a5ea0ca 100644
--- a/lib/runtime/dart/math.js
+++ b/lib/runtime/dart/math.js
@@ -190,6 +190,7 @@ var math;
this[_height] = height;
}
}
+ MutableRectangle[dart.implements] = [Rectangle$(T)];
dart.defineNamedConstructor(MutableRectangle, 'fromPoints');
return MutableRectangle;
});
@@ -316,6 +317,7 @@ var math;
return Math.random() < 0.5;
}
}
+ _JSRandom[dart.implements] = [Random];
let _lo = Symbol('_lo');
let _hi = Symbol('_hi');
let _MASK32 = Symbol('_MASK32');
@@ -420,6 +422,7 @@ var math;
return (dart.notNull(this[_lo]) & 1) === 0;
}
}
+ _Random[dart.implements] = [Random];
_Random._POW2_53_D = 1.0 * 9007199254740992;
_Random._POW2_27_D = 1.0 * (1 << 27);
_Random._MASK32 = 4294967295;
« no previous file with comments | « lib/runtime/dart/isolate.js ('k') | lib/runtime/dart/typed_data.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698