]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - runtime/WeakRandom.h
JavaScriptCore-1218.tar.gz
[apple/javascriptcore.git] / runtime / WeakRandom.h
index 6083980d222a385ff9aa780f25841ab4df8b2247..3cd1016d3bdc29bd8fe20e3e5a75da2514968efb 100644 (file)
@@ -62,6 +62,9 @@ public:
         , m_high(seed)
     {
     }
+    
+    // Returns the seed provided that you've never called get() or getUint32().
+    unsigned seedUnsafe() const { return m_high; }
 
     double get()
     {