Index: src/runtime.cc |
=================================================================== |
--- src/runtime.cc (revision 3306) |
+++ src/runtime.cc (working copy) |
@@ -3385,8 +3385,7 @@ |
NoHandleAllocation ha; |
CONVERT_CHECKED(String, s, args[0]); |
- CONVERT_DOUBLE_CHECKED(n, args[1]); |
- int radix = FastD2I(n); |
+ CONVERT_SMI_CHECKED(radix, args[1]); |
s->TryFlattenIfNotFlat(); |