Commit 7fb93c58 authored by barraclough@apple.com's avatar barraclough@apple.com
Browse files

https://bugs.webkit.org/show_bug.cgi?id=120128

Remove putDirectVirtual

Unreviewed, checked in commented out code. :-(

* interpreter/Interpreter.cpp:
(JSC::Interpreter::execute):
    - delete commented out code



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154461 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent a928469d
2013-08-22 Gavin Barraclough <barraclough@apple.com>
https://bugs.webkit.org/show_bug.cgi?id=120128
Remove putDirectVirtual
Unreviewed, checked in commented out code. :-(
* interpreter/Interpreter.cpp:
(JSC::Interpreter::execute):
- delete commented out code
2013-08-22 Gavin Barraclough <barraclough@apple.com>
 
Error.stack should not be enumerable
......
......@@ -735,13 +735,6 @@ JSValue Interpreter::execute(ProgramExecutable* program, CallFrame* callFrame, J
JSONPPath.swap(JSONPData[entry].m_path);
JSValue JSONPValue = JSONPData[entry].m_value.get();
if (JSONPPath.size() == 1 && JSONPPath[0].m_type == JSONPPathEntryTypeDeclare) {
// if (globalObject->hasProperty(callFrame, JSONPPath[0].m_pathEntryName)) {
// PutPropertySlot slot;
// globalObject->methodTable()->put(globalObject, callFrame, JSONPPath[0].m_pathEntryName, JSONPValue, slot);
// } else {
// PropertyDescriptor desc(JSONPValue, DontEnum | DontDelete);
// globalObject->methodTable()->defineOwnProperty(globalObject, callFrame, JSONPPath[0].m_pathEntryName, desc, false);
// }
globalObject->addRegisters(1);
globalObject->addVar(callFrame, JSONPPath[0].m_pathEntryName);
PutPropertySlot slot;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment