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

Unified Diff: runtime/lib/integers.dart

Issue 19106008: Fix for issue 11680 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 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 | « runtime/lib/integers.cc ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/integers.dart
===================================================================
--- runtime/lib/integers.dart (revision 25486)
+++ runtime/lib/integers.dart (working copy)
@@ -273,9 +273,7 @@
return 0;
}
}
- int _shlFromInt(int other) {
- throw const OutOfMemoryError();
- }
+ int _shlFromInt(int other) native "Mint_shlFromInt";
}
// A number that can be represented as Smi or Mint will never be represented as
@@ -298,9 +296,7 @@
return 0;
}
}
- int _shlFromInt(int other) {
- throw const OutOfMemoryError();
- }
+ int _shlFromInt(int other) native "Bigint_shlFromInt";
int pow(int exponent) {
throw "Bigint.pow not implemented";
« no previous file with comments | « runtime/lib/integers.cc ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698