- fix development build failure from the previous checkin
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Jan 2006 10:44:47 +0000 (10:44 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Jan 2006 10:44:47 +0000 (10:44 +0000)
        * kjs/function.cpp:
        (KJS::ActivationImp::put): Use prototype() accessor in assert.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@11908 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/kjs/function.cpp

index 13dbf6e0621b230248099a5135c41b3a27eb271f..f0236c3741f6b4dec7ea68efcc58886581f22067 100644 (file)
@@ -1,3 +1,10 @@
+2006-01-06  Maciej Stachowiak  <mjs@apple.com>
+
+       - fix development build failure from the previous checkin
+
+        * kjs/function.cpp:
+        (KJS::ActivationImp::put): Use prototype() accessor in assert.
+
 2006-01-05  Maciej Stachowiak  <mjs@apple.com>
 
         Reviewed by Eric.
index 7f1396eb269db6ffede049515b8451dc2734bdd0..b925174ce9f984ad8a3dda97c12e7f24b722951c 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(!_proto);
+  assert(!prototype());
 
   _prop.put(propertyName, value, attr, (attr == None || attr == DontDelete));
 }