Changeset 161033 in webkit for trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp
- Timestamp:
- Dec 23, 2013, 4:11:25 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp
r160244 r161033 799 799 if (JSONPPath.size() == 1 && JSONPPath[0].m_type == JSONPPathEntryTypeDeclare) { 800 800 globalObject->addVar(callFrame, JSONPPath[0].m_pathEntryName); 801 PutPropertySlot slot ;801 PutPropertySlot slot(globalObject); 802 802 globalObject->methodTable()->put(globalObject, callFrame, JSONPPath[0].m_pathEntryName, JSONPValue, slot); 803 803 result = jsUndefined(); … … 834 834 } 835 835 } 836 PutPropertySlot slot ;836 PutPropertySlot slot(baseObject); 837 837 switch (JSONPPath.last().m_type) { 838 838 case JSONPPathEntryTypeCall: { … … 1163 1163 const Identifier& ident = codeBlock->variable(i); 1164 1164 if (!variableObject->hasProperty(callFrame, ident)) { 1165 PutPropertySlot slot ;1165 PutPropertySlot slot(variableObject); 1166 1166 variableObject->methodTable()->put(variableObject, callFrame, ident, jsUndefined(), slot); 1167 1167 } … … 1170 1170 for (int i = 0; i < numFunctions; ++i) { 1171 1171 FunctionExecutable* function = codeBlock->functionDecl(i); 1172 PutPropertySlot slot ;1172 PutPropertySlot slot(variableObject); 1173 1173 variableObject->methodTable()->put(variableObject, callFrame, function->name(), JSFunction::create(vm, function, scope), slot); 1174 1174 }
Note:
See TracChangeset
for help on using the changeset viewer.