Changeset 102194 in webkit
- Timestamp:
- Dec 6, 2011, 4:55:23 PM (15 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
interpreter/Interpreter.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r102182 r102194 1 2011-12-06 Sam Weinig <sam@webkit.org> 2 3 Remove unintentional type name shadowing in the Interpreter 4 https://bugs.webkit.org/show_bug.cgi?id=73963 5 6 Reviewed by Oliver Hunt. 7 8 * interpreter/Interpreter.cpp: 9 (JSC::Interpreter::prepareForRepeatCall): Replace the parameter name FunctionExecutable, 10 which shadows the FunctionExecutable type name, with functionExecutable. 11 1 12 2011-12-06 Michael Saboff <msaboff@apple.com> 2 13 -
trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp
r102011 r102194 1216 1216 } 1217 1217 1218 CallFrameClosure Interpreter::prepareForRepeatCall(FunctionExecutable* FunctionExecutable, CallFrame* callFrame, JSFunction* function, int argumentCountIncludingThis, ScopeChainNode* scopeChain)1218 CallFrameClosure Interpreter::prepareForRepeatCall(FunctionExecutable* functionExecutable, CallFrame* callFrame, JSFunction* function, int argumentCountIncludingThis, ScopeChainNode* scopeChain) 1219 1219 { 1220 1220 ASSERT(!scopeChain->globalData->exception); … … 1239 1239 newCallFrame->uncheckedR(dst++) = jsUndefined(); 1240 1240 1241 JSObject* error = FunctionExecutable->compileForCall(callFrame, scopeChain);1241 JSObject* error = functionExecutable->compileForCall(callFrame, scopeChain); 1242 1242 if (error) { 1243 1243 throwError(callFrame, error); … … 1245 1245 return CallFrameClosure(); 1246 1246 } 1247 CodeBlock* codeBlock = & FunctionExecutable->generatedBytecodeForCall();1247 CodeBlock* codeBlock = &functionExecutable->generatedBytecodeForCall(); 1248 1248 1249 1249 newCallFrame = slideRegisterWindowForCall(codeBlock, &m_registerFile, newCallFrame, argumentCountIncludingThis + RegisterFile::CallFrameHeaderSize, argumentCountIncludingThis); … … 1255 1255 newCallFrame->init(codeBlock, 0, scopeChain, callFrame->addHostCallFrameFlag(), argumentCountIncludingThis, function); 1256 1256 scopeChain->globalData->topCallFrame = newCallFrame; 1257 CallFrameClosure result = { callFrame, newCallFrame, function, FunctionExecutable, scopeChain->globalData, oldEnd, scopeChain, codeBlock->m_numParameters, argumentCountIncludingThis };1257 CallFrameClosure result = { callFrame, newCallFrame, function, functionExecutable, scopeChain->globalData, oldEnd, scopeChain, codeBlock->m_numParameters, argumentCountIncludingThis }; 1258 1258 return result; 1259 1259 }
Note:
See TracChangeset
for help on using the changeset viewer.