Chromium Code Reviews| Index: runtime/lib/typed_data.dart |
| diff --git a/runtime/lib/typed_data.dart b/runtime/lib/typed_data.dart |
| index 4e76c27b32044a32bae6b12cd34bdaf873a71cea..c4e9259dc0521c5e3244bb8ba580b6f5fee8a66c 100644 |
| --- a/runtime/lib/typed_data.dart |
| +++ b/runtime/lib/typed_data.dart |
| @@ -2081,6 +2081,14 @@ class _Uint32x4 implements Uint32x4 { |
| return _xor(other); |
| } |
| Uint32x4 _xor(Uint32x4 other) native "Uint32x4_xor"; |
| + Uint32x4 operator +(Uint32x4 other) { |
|
srdjan
2013/08/19 21:45:23
Why go via a helper method instead of making it na
Cutch
2013/08/19 21:58:25
Legacy. Will follow up with a cleanup CL.
|
| + return _add(other); |
| + } |
| + Uint32x4 _add(Uint32x4 other) native "Uint32x4_add"; |
| + Uint32x4 operator -(Uint32x4 other) { |
| + return _sub(other); |
| + } |
| + Uint32x4 _sub(Uint32x4 other) native "Uint32x4_sub"; |
| int get x native "Uint32x4_getX"; |
| int get y native "Uint32x4_getY"; |
| int get z native "Uint32x4_getZ"; |