]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - runtime/JSZombie.cpp
JavaScriptCore-903.tar.gz
[apple/javascriptcore.git] / runtime / JSZombie.cpp
index 072d29b6af9567418cdf99f42a455a97a472ec5e..efabc93fc1bc35196106cfd7d307509c5a3558cb 100644 (file)
@@ -26,6 +26,8 @@
 #include "config.h"
 #include "JSZombie.h"
 #include "ClassInfo.h"
+#include "JSObject.h"
+#include "ScopeChain.h"
 
 #if ENABLE(JSC_ZOMBIES)
 
@@ -33,16 +35,6 @@ namespace JSC {
 
 const ClassInfo JSZombie::s_info = { "Zombie", 0, 0, 0 };
 
-Structure* JSZombie::leakedZombieStructure() {
-    static Structure* structure = 0;
-    if (!structure) {
-        Structure::startIgnoringLeaks();
-        structure = Structure::create(jsNull(), TypeInfo(UnspecifiedType)).releaseRef();
-        Structure::stopIgnoringLeaks();
-    }
-    return structure;
-}
-
 }
 
 #endif // ENABLE(JSC_ZOMBIES)