Ignore:
Timestamp:
Jan 29, 2014, 11:18:54 AM (11 years ago)
Author:
[email protected]
Message:

Merge the jsCStack branch
https://bugs.webkit.org/show_bug.cgi?id=127763

Reviewed by Mark Hahnenberg.

Source/JavaScriptCore:

Changes from http://svn.webkit.org/repository/webkit/branches/jsCStack
up to changeset 162958.

Source/WebCore:

Changes from http://svn.webkit.org/repository/webkit/branches/jsCStack
up to changeset 162958.

Source/WTF:

Changes from http://svn.webkit.org/repository/webkit/branches/jsCStack
up to changeset 162958.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/ExceptionHelpers.cpp

    r155143 r163027  
    3232#include "CodeBlock.h"
    3333#include "CallFrame.h"
     34#include "ErrorHandlingScope.h"
    3435#include "ErrorInstance.h"
    3536#include "JSGlobalObjectFunctions.h"
     
    161162JSObject* throwStackOverflowError(ExecState* exec)
    162163{
    163     Interpreter::ErrorHandlingMode mode(exec);
    164     return exec->vm().throwException(exec, createStackOverflowError(exec));
     164    VM& vm = exec->vm();
     165    ErrorHandlingScope errorScope(vm);
     166    return vm.throwException(exec, createStackOverflowError(exec));
    165167}
    166168
    167169JSObject* throwTerminatedExecutionException(ExecState* exec)
    168170{
    169     Interpreter::ErrorHandlingMode mode(exec);
    170     return exec->vm().throwException(exec, createTerminatedExecutionException(&exec->vm()));
     171    VM& vm = exec->vm();
     172    ErrorHandlingScope errorScope(vm);
     173    return vm.throwException(exec, createTerminatedExecutionException(&vm));
    171174}
    172175
Note: See TracChangeset for help on using the changeset viewer.