Changeset 156242 in webkit for trunk/Source/JavaScriptCore/dfg/DFGOperations.cpp
- Timestamp:
- Sep 21, 2013, 10:00:45 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGOperations.cpp
r156237 r156242 1907 1907 DFGHandlerEncoded DFG_OPERATION lookupExceptionHandler(ExecState* exec, uint32_t callIndex) 1908 1908 { 1909 // FIXME: This isn't needed anymore. 1910 // https://bugs.webkit.org/show_bug.cgi?id=121734 1911 UNUSED_PARAM(callIndex); 1912 1909 1913 VM* vm = &exec->vm(); 1910 1914 NativeCallFrameTracer tracer(vm, exec); … … 1913 1917 ASSERT(exceptionValue); 1914 1918 1915 unsigned vPCIndex = exec->codeBlock()->bytecodeOffsetForCallAtIndex(callIndex); 1916 ExceptionHandler handler = genericUnwind(vm, exec, exceptionValue, vPCIndex); 1919 ExceptionHandler handler = genericUnwind(vm, exec, exceptionValue); 1917 1920 ASSERT(handler.catchRoutine); 1918 1921 return dfgHandlerEncoded(handler.callFrame, handler.catchRoutine); … … 1921 1924 DFGHandlerEncoded DFG_OPERATION lookupExceptionHandlerInStub(ExecState* exec, StructureStubInfo* stubInfo) 1922 1925 { 1926 // FIXME: This isn't needed anymore. 1927 // https://bugs.webkit.org/show_bug.cgi?id=121734 1928 UNUSED_PARAM(stubInfo); 1929 1923 1930 VM* vm = &exec->vm(); 1924 1931 NativeCallFrameTracer tracer(vm, exec); … … 1927 1934 ASSERT(exceptionValue); 1928 1935 1929 CodeOrigin codeOrigin = stubInfo->codeOrigin; 1930 while (codeOrigin.inlineCallFrame) 1931 codeOrigin = codeOrigin.inlineCallFrame->caller; 1932 1933 ExceptionHandler handler = genericUnwind(vm, exec, exceptionValue, codeOrigin.bytecodeIndex); 1936 ExceptionHandler handler = genericUnwind(vm, exec, exceptionValue); 1934 1937 ASSERT(handler.catchRoutine); 1935 1938 return dfgHandlerEncoded(handler.callFrame, handler.catchRoutine);
Note:
See TracChangeset
for help on using the changeset viewer.