| Differences between
and this patch
- file_not_specified_in_diff +43 lines
Line 194 file_not_specified_in_diff_sec1
194
+    slot.setThisValue(JSValue(thisObject));
Line 206 file_not_specified_in_diff_sec2
207
+    slot.setThisValue(JSValue(thisObject));
Line 569 file_not_specified_in_diff_sec3
571
Index: Source/JavaScriptCore/runtime/PropertySlot.h
572
===================================================================
573
--- Source/JavaScriptCore/runtime/PropertySlot.h	(revision 172971)
574
+++ Source/JavaScriptCore/runtime/PropertySlot.h	(working copy)
575
@@ -204,6 +204,11 @@ public:
576
         m_offset = offset;
577
     }
578
 
579
+    void setThisValue(JSValue thisValue)
580
+    {
581
+        m_thisValue = thisValue;
582
+    }
583
+
584
     void setUndefined()
585
     {
586
         m_data.value = JSValue::encode(jsUndefined());
587
@@ -235,7 +240,7 @@ private:
588
 
589
     PropertyType m_propertyType;
590
     PropertyOffset m_offset;
591
-    const JSValue m_thisValue;
592
+    JSValue m_thisValue;
593
     JSObject* m_slotBase;
594
     WatchpointSet* m_watchpointSet;
595
     CacheabilityType m_cacheability;
596
Index: Source/JavaScriptCore/runtime/PutPropertySlot.h
597
===================================================================
598
--- Source/JavaScriptCore/runtime/PutPropertySlot.h	(revision 172971)
599
+++ Source/JavaScriptCore/runtime/PutPropertySlot.h	(working copy)
600
@@ -80,6 +80,11 @@ namespace JSC {
601
             m_offset = offset;
602
         }
603
 
604
+        void setThisValue(JSValue thisValue)
605
+        {
606
+            m_thisValue = thisValue;
607
+        }
608
+
609
         PutValueFunc customSetter() const { return m_putFunction; }
610
 
611
         Context context() const { return static_cast<Context>(m_context); }

Return to Bug 134420