Author: [email protected]
Date: Mon Mar  9 03:10:53 2009
New Revision: 1447

Modified:
    branches/experimental/global/src/objects.cc

Log:
Fixed bug introduced in my last commit. I forgot to
update the property details in SetNormalizedProperty.

Review URL: http://codereview.chromium.org/39332

Modified: branches/experimental/global/src/objects.cc
==============================================================================
--- branches/experimental/global/src/objects.cc (original)
+++ branches/experimental/global/src/objects.cc Mon Mar  9 03:10:53 2009
@@ -455,7 +455,8 @@
      JSGlobalPropertyCell* cell =
          JSGlobalPropertyCell::cast(property_dictionary()->ValueAt(entry));
      cell->set_value(value);
-    // No need to update the property dictionary.
+    // Please note we have to update the property details.
+    property_dictionary()->SetStringEntry(entry, name, cell, details);
    } else {
      property_dictionary()->SetStringEntry(entry, name, value, details);
    }

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to