Same as the previous checkin, but should be for real now.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Jan 2006 11:03:11 +0000 (11:03 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Jan 2006 11:03:11 +0000 (11:03 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@11910 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/kjs/function.cpp

index b925174ce9f984ad8a3dda97c12e7f24b722951c..260983de56985c3c6faffbb5fd4c871cefd81d63 100644 (file)
@@ -535,7 +535,7 @@ void ActivationImp::put(ExecState *exec, const Identifier &propertyName, JSValue
 {
   // There's no way that an activation object can have a prototype or getter/setter properties
   assert(!_prop.hasGetterSetterProperties());
-  assert(!prototype());
+  assert(prototype() == jsNull());
 
   _prop.put(propertyName, value, attr, (attr == None || attr == DontDelete));
 }