Changeset 163027 in webkit for trunk/Source/JavaScriptCore/runtime/ExceptionHelpers.cpp
- Timestamp:
- Jan 29, 2014, 11:18:54 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/ExceptionHelpers.cpp
r155143 r163027 32 32 #include "CodeBlock.h" 33 33 #include "CallFrame.h" 34 #include "ErrorHandlingScope.h" 34 35 #include "ErrorInstance.h" 35 36 #include "JSGlobalObjectFunctions.h" … … 161 162 JSObject* throwStackOverflowError(ExecState* exec) 162 163 { 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)); 165 167 } 166 168 167 169 JSObject* throwTerminatedExecutionException(ExecState* exec) 168 170 { 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)); 171 174 } 172 175
Note:
See TracChangeset
for help on using the changeset viewer.