summaryrefslogtreecommitdiff
path: root/deps/v8/src/conversions.h
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-09-07 19:22:41 -0700
committerRyan Dahl <ry@tinyclouds.org>2011-09-07 21:23:29 -0700
commit0bca54444a5bb869ddebaadc65cd0bf381bb1e81 (patch)
tree9c4ec90a663e0e17e9922d69bc58479bcd1538bd /deps/v8/src/conversions.h
parent526c54c9790cd8edff259686785d7b844fd29005 (diff)
downloadnode-new-0bca54444a5bb869ddebaadc65cd0bf381bb1e81.tar.gz
Upgrade V8 to 3.6.1
Diffstat (limited to 'deps/v8/src/conversions.h')
-rw-r--r--deps/v8/src/conversions.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/conversions.h b/deps/v8/src/conversions.h
index 7b02c47f6a..0f8d5da8ee 100644
--- a/deps/v8/src/conversions.h
+++ b/deps/v8/src/conversions.h
@@ -45,14 +45,14 @@ namespace internal {
const int kMaxSignificantDigits = 772;
-static bool isDigit(int x, int radix) {
+static inline bool isDigit(int x, int radix) {
return (x >= '0' && x <= '9' && x < '0' + radix)
|| (radix > 10 && x >= 'a' && x < 'a' + radix - 10)
|| (radix > 10 && x >= 'A' && x < 'A' + radix - 10);
}
-static double SignedZero(bool negative) {
+static inline double SignedZero(bool negative) {
return negative ? -0.0 : 0.0;
}