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

Unified Diff: sdk/lib/typed_data/typed_data.dart

Issue 13936009: Inline Float32x4 constructors (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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
Index: sdk/lib/typed_data/typed_data.dart
diff --git a/sdk/lib/typed_data/typed_data.dart b/sdk/lib/typed_data/typed_data.dart
index c907dc5705ef577c919acd73954011ce2b17aaf0..55274b26adc2e8ff18b0d411e7121e3f2d33548d 100644
--- a/sdk/lib/typed_data/typed_data.dart
+++ b/sdk/lib/typed_data/typed_data.dart
@@ -826,6 +826,7 @@ abstract class Float32x4List implements List<Float32x4>, TypedData {
*/
abstract class Float32x4 {
external factory Float32x4(double x, double y, double z, double w);
+ external factory Float32x4.splat(double v);
external factory Float32x4.zero();
/// Addition operator.

Powered by Google App Engine
This is Rietveld 408576698