Changeset 128111 in webkit for trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp
- Timestamp:
- Sep 10, 2012, 2:49:25 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp
r128096 r128111 5106 5106 return jsNull(); 5107 5107 5108 CodeBlock* codeBlock = functionCallFrame->someCodeBlockForPossiblyInlinedCode();5109 if (codeBlock->usesArguments()) {5110 ASSERT(codeBlock->codeType() == FunctionCode);5111 int argumentsRegister = codeBlock->argumentsRegister();5112 int realArgumentsRegister = unmodifiedArgumentsRegister(argumentsRegister);5113 if (JSValue arguments = functionCallFrame->uncheckedR(argumentsRegister).jsValue())5114 return arguments;5115 JSValue arguments = JSValue(Arguments::create(callFrame->globalData(), functionCallFrame));5116 functionCallFrame->r(argumentsRegister) = arguments;5117 functionCallFrame->r(realArgumentsRegister) = arguments;5118 return arguments;5119 }5120 5121 5108 Arguments* arguments = Arguments::create(functionCallFrame->globalData(), functionCallFrame); 5122 5109 arguments->tearOff(functionCallFrame);
Note:
See TracChangeset
for help on using the changeset viewer.