Index: src/objects-inl.h |
=================================================================== |
--- src/objects-inl.h (revision 4179) |
+++ src/objects-inl.h (working copy) |
@@ -1121,6 +1121,17 @@ |
} |
+int HeapNumber::get_exponent() { |
+ return ((READ_INT_FIELD(this, kExponentOffset) & kExponentMask) >> |
+ kExponentShift) - kExponentBias; |
+} |
+ |
+ |
+int HeapNumber::get_sign() { |
+ return READ_INT_FIELD(this, kExponentOffset) & kSignMask; |
+} |
+ |
+ |
ACCESSORS(JSObject, properties, FixedArray, kPropertiesOffset) |