Changeset 70212 in webkit


Ignore:
Timestamp:
Oct 21, 2010 1:36:20 AM (14 years ago)
Author:
abarth@webkit.org
Message:

2010-10-21 Adam Barth <abarth@webkit.org>

Unreviewed, rolling out r70174.
http://trac.webkit.org/changeset/70174
https://bugs.webkit.org/show_bug.cgi?id=41948

This patch reverts a change that causes
http/tests/xmlhttprequest/origin-whitelisting-removal.html to crash.

  • interpreter/Interpreter.cpp: (JSC::Interpreter::throwException):

2010-10-21 Adam Barth <abarth@webkit.org>

Unreviewed, rolling out r70174.
http://trac.webkit.org/changeset/70174
https://bugs.webkit.org/show_bug.cgi?id=41948

This patch reverts a change that causes
http/tests/xmlhttprequest/origin-whitelisting-removal.html to crash.

  • fast/js/exception-registerfile-shrink-expected.txt: Removed.
  • fast/js/exception-registerfile-shrink.html: Removed.
  • fast/js/script-tests/exception-registerfile-shrink.js: Removed.
Location:
trunk
Files:
3 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r70201 r70212  
     12010-10-21  Adam Barth  <abarth@webkit.org>
     2
     3        Unreviewed, rolling out r70174.
     4        http://trac.webkit.org/changeset/70174
     5        https://bugs.webkit.org/show_bug.cgi?id=41948
     6
     7        This patch reverts a change that causes
     8        http/tests/xmlhttprequest/origin-whitelisting-removal.html to crash.
     9
     10        * interpreter/Interpreter.cpp:
     11        (JSC::Interpreter::throwException):
     12
    1132010-10-20  Simon Fraser  <simon.fraser@apple.com>
    214
  • trunk/JavaScriptCore/interpreter/Interpreter.cpp

    r70174 r70212  
    677677
    678678    // Shrink the JS stack, in case stack overflow made it huge.
    679     Register* highWaterMark = callFrame->registers() + callFrame->codeBlock()->m_numCalleeRegisters;
    680     for (CallFrame* callerFrame = callFrame->callerFrame()->removeHostCallFrameFlag(); callerFrame; callerFrame = callerFrame->callerFrame()->removeHostCallFrameFlag()) {
    681         CodeBlock* codeBlock = callerFrame->codeBlock();
    682         if (!codeBlock)
    683             continue;
    684         Register* callerHighWaterMark = callerFrame->registers() + codeBlock->m_numCalleeRegisters;
    685         highWaterMark = max(highWaterMark, callerHighWaterMark);
    686     }
    687     m_registerFile.shrink(highWaterMark);
     679    m_registerFile.shrink(callFrame->registers() + callFrame->codeBlock()->m_numCalleeRegisters);
    688680
    689681    // Unwind the scope chain within the exception handler's call frame.
  • trunk/LayoutTests/ChangeLog

    r70210 r70212  
     12010-10-21  Adam Barth  <abarth@webkit.org>
     2
     3        Unreviewed, rolling out r70174.
     4        http://trac.webkit.org/changeset/70174
     5        https://bugs.webkit.org/show_bug.cgi?id=41948
     6
     7        This patch reverts a change that causes
     8        http/tests/xmlhttprequest/origin-whitelisting-removal.html to crash.
     9
     10        * fast/js/exception-registerfile-shrink-expected.txt: Removed.
     11        * fast/js/exception-registerfile-shrink.html: Removed.
     12        * fast/js/script-tests/exception-registerfile-shrink.js: Removed.
     13
    1142010-10-21  Martin Robinson  <mrobinson@igalia.com>
    215
Note: See TracChangeset for help on using the changeset viewer.