]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - runtime/NumberObject.cpp
JavaScriptCore-576.tar.gz
[apple/javascriptcore.git] / runtime / NumberObject.cpp
index dc10d8f11d7399f6f9d99287c21e02cbf4709e58..1a7e44ccedfd925eb1a5941a93d1775e21d2f2c9 100644 (file)
@@ -31,17 +31,17 @@ ASSERT_CLASS_FITS_IN_CELL(NumberObject);
 
 const ClassInfo NumberObject::info = { "Number", 0, 0, 0 };
 
-NumberObject::NumberObject(PassRefPtr<Structure> structure)
+NumberObject::NumberObject(NonNullPassRefPtr<Structure> structure)
     : JSWrapperObject(structure)
 {
 }
 
-JSValuePtr NumberObject::getJSNumber()
+JSValue NumberObject::getJSNumber()
 {
     return internalValue();
 }
 
-NumberObject* constructNumber(ExecState* exec, JSValuePtr number)
+NumberObject* constructNumber(ExecState* exec, JSValue number)
 {
     NumberObject* object = new (exec) NumberObject(exec->lexicalGlobalObject()->numberObjectStructure());
     object->setInternalValue(number);