Changeset 77098 in webkit for trunk/Source/JavaScriptCore/jit
- Timestamp:
- Jan 30, 2011, 5:13:10 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jit/JITStubs.cpp
r77044 r77098 846 846 // should not be treated as a dictionary. 847 847 if (slotBaseObject->structure()->isDictionary()) { 848 slotBaseObject->flattenDictionaryObject( );848 slotBaseObject->flattenDictionaryObject(callFrame->globalData()); 849 849 offset = slotBaseObject->structure()->get(propertyName); 850 850 } … … 943 943 #define CHECK_FOR_EXCEPTION() \ 944 944 do { \ 945 if (UNLIKELY(stackFrame.globalData->exception )) \945 if (UNLIKELY(stackFrame.globalData->exception.get())) \ 946 946 VM_THROW_EXCEPTION(); \ 947 947 } while (0) 948 948 #define CHECK_FOR_EXCEPTION_AT_END() \ 949 949 do { \ 950 if (UNLIKELY(stackFrame.globalData->exception )) \950 if (UNLIKELY(stackFrame.globalData->exception.get())) \ 951 951 VM_THROW_EXCEPTION_AT_END(); \ 952 952 } while (0) 953 953 #define CHECK_FOR_EXCEPTION_VOID() \ 954 954 do { \ 955 if (UNLIKELY(stackFrame.globalData->exception )) { \955 if (UNLIKELY(stackFrame.globalData->exception.get())) { \ 956 956 VM_THROW_EXCEPTION_AT_END(); \ 957 957 return; \ … … 1467 1467 // should not be treated as a dictionary. 1468 1468 if (slotBaseObject->structure()->isDictionary()) 1469 slotBaseObject->flattenDictionaryObject( );1469 slotBaseObject->flattenDictionaryObject(callFrame->globalData()); 1470 1470 1471 1471 // The result fetched should always be the callee! … … 1657 1657 // should not be treated as a dictionary. 1658 1658 if (slotBaseObject->structure()->isDictionary()) { 1659 slotBaseObject->flattenDictionaryObject( );1659 slotBaseObject->flattenDictionaryObject(callFrame->globalData()); 1660 1660 offset = slotBaseObject->structure()->get(propertyName); 1661 1661 } … … 2148 2148 if (JSValue v = stackFrame.args[1].jsValue()) { 2149 2149 if (!stackFrame.callFrame->codeBlock()->isStrictMode()) 2150 asArguments(v)->setActivation( activation);2150 asArguments(v)->setActivation(*stackFrame.globalData, activation); 2151 2151 } 2152 2152 } … … 2205 2205 Identifier& ident = stackFrame.args[0].identifier(); 2206 2206 do { 2207 JSObject* o = *iter;2207 JSObject* o = iter->get(); 2208 2208 PropertySlot slot(o); 2209 2209 if (o->getPropertySlot(callFrame, ident, slot)) { … … 2398 2398 JSArray* jsArray = asArray(baseValue); 2399 2399 if (jsArray->canSetIndex(i)) 2400 jsArray->setIndex( i, value);2400 jsArray->setIndex(*globalData, i, value); 2401 2401 else 2402 2402 jsArray->JSArray::put(callFrame, i, value); … … 2646 2646 Identifier& ident = stackFrame.args[0].identifier(); 2647 2647 do { 2648 JSObject* o = *iter;2648 JSObject* o = iter->get(); 2649 2649 PropertySlot slot(o); 2650 2650 if (o->getPropertySlot(callFrame, ident, slot)) { … … 2975 2975 JSObject* base; 2976 2976 do { 2977 base = *iter;2977 base = iter->get(); 2978 2978 PropertySlot slot(base); 2979 2979 if (base->getPropertySlot(callFrame, ident, slot)) { … … 3481 3481 STUB_INIT_STACK_FRAME(stackFrame); 3482 3482 JSGlobalData* globalData = stackFrame.globalData; 3483 ExceptionHandler handler = jitThrow(globalData, stackFrame.callFrame, globalData->exception , globalData->exceptionLocation);3483 ExceptionHandler handler = jitThrow(globalData, stackFrame.callFrame, globalData->exception.get(), globalData->exceptionLocation); 3484 3484 STUB_SET_RETURN_ADDRESS(handler.catchRoutine); 3485 3485 return handler.callFrame;
Note:
See TracChangeset
for help on using the changeset viewer.