| Index: runtime/lib/integers.dart
|
| ===================================================================
|
| --- runtime/lib/integers.dart (revision 3311)
|
| +++ runtime/lib/integers.dart (working copy)
|
| @@ -60,7 +60,7 @@
|
| return other - (other ~/ this) * this;
|
| }
|
| int operator >>(int other) {
|
| - return other.sarFromInt(this);
|
| + return other.shrFromInt(this);
|
| }
|
| int operator <<(int other) {
|
| return other.shlFromInt(this);
|
| @@ -168,7 +168,7 @@
|
| return this;
|
| }
|
| int operator ~() native "Smi_bitNegate";
|
| - int sarFromInt(int other) native "Smi_sarFromInt";
|
| + int shrFromInt(int other) native "Smi_shrFromInt";
|
| int shlFromInt(int other) native "Smi_shlFromInt";
|
| }
|
|
|
| @@ -184,7 +184,7 @@
|
| int operator ~() native "Mint_bitNegate";
|
|
|
| // Shift by mint exceeds range that can be handled by the VM.
|
| - int sarFromInt(int other) {
|
| + int shrFromInt(int other) {
|
| if (other < 0) {
|
| return -1;
|
| } else {
|
| @@ -209,7 +209,7 @@
|
| int operator ~() native "Bigint_bitNegate";
|
|
|
| // Shift by bigint exceeds range that can be handled by the VM.
|
| - int sarFromInt(int other) {
|
| + int shrFromInt(int other) {
|
| if (other < 0) {
|
| return -1;
|
| } else {
|
|
|